HttpMethodConstraintElement
, ServletSecurityElement
public class HttpConstraintElement extends Object
Constructor | Description |
---|---|
HttpConstraintElement() |
Constructor.
|
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic emptyRoleSemantic) |
Constructor.
|
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic emptyRoleSemantic,
ServletSecurity.TransportGuarantee transportGuarantee,
String... rolesAllowed) |
Constructor.
|
HttpConstraintElement(ServletSecurity.TransportGuarantee transportGuarantee,
String... rolesAllowed) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ServletSecurity.EmptyRoleSemantic |
getEmptyRoleSemantic() |
Get the EmptyRoleSemantic.
|
String[] |
getRolesAllowed() |
Get the roles allowed.
|
ServletSecurity.TransportGuarantee |
getTransportGuarantee() |
Get the transport guarantee.
|
public HttpConstraintElement()
public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic emptyRoleSemantic)
emptyRoleSemantic
- the EmptyRoleSemantic.public HttpConstraintElement(ServletSecurity.TransportGuarantee transportGuarantee, String... rolesAllowed)
transportGuarantee
- the TransportGuarantee.rolesAllowed
- the roles allowed.public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic emptyRoleSemantic, ServletSecurity.TransportGuarantee transportGuarantee, String... rolesAllowed)
emptyRoleSemantic
- the EmptyRoleSemantic.transportGuarantee
- the TransportGuarantee.rolesAllowed
- the roles allowed.public ServletSecurity.EmptyRoleSemantic getEmptyRoleSemantic()
public ServletSecurity.TransportGuarantee getTransportGuarantee()
public String[] getRolesAllowed()
Copyright © 2020 Piranha Cloud. All rights reserved.