|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletSecurityType<T>
This interface defines the contract for the servlet-securityType
xsd type
Method Summary | |
---|---|
HttpMethodConstraintType<ServletSecurityType<T>> |
createHttpMethodConstraint()
Creates a new http-method-constraint element |
ServletSecurityType<T> |
emptyRoleSemantic(String emptyRoleSemantic)
Sets the empty-role-semantic element |
List<HttpMethodConstraintType<ServletSecurityType<T>>> |
getAllHttpMethodConstraint()
Returns all http-method-constraint elements |
List<String> |
getAllRolesAllowed()
Returns all roles-allowed elements |
String |
getEmptyRoleSemantic()
Returns the empty-role-semantic element |
HttpMethodConstraintType<ServletSecurityType<T>> |
getOrCreateHttpMethodConstraint()
If not already created, a new http-method-constraint element will be created and returned. |
TransportGuaranteeType |
getTransportGuarantee()
Returns the transport-guarantee element |
String |
getTransportGuaranteeAsString()
Returns the transport-guarantee element |
ServletSecurityType<T> |
removeAllHttpMethodConstraint()
Removes all http-method-constraint elements |
ServletSecurityType<T> |
removeAllRolesAllowed()
Removes the roles-allowed element |
ServletSecurityType<T> |
removeEmptyRoleSemantic()
Removes the empty-role-semantic element |
ServletSecurityType<T> |
removeTransportGuarantee()
Removes the transport-guarantee attribute |
ServletSecurityType<T> |
rolesAllowed(String... values)
Creates for all String objects representing roles-allowed elements,
a new roles-allowed element |
ServletSecurityType<T> |
transportGuarantee(String transportGuarantee)
Sets the transport-guarantee element |
ServletSecurityType<T> |
transportGuarantee(TransportGuaranteeType transportGuarantee)
Sets the transport-guarantee element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ServletSecurityType<T> emptyRoleSemantic(String emptyRoleSemantic)
empty-role-semantic
element
emptyRoleSemantic
- the value for the element empty-role-semantic
ServletSecurityType
String getEmptyRoleSemantic()
empty-role-semantic
element
empty-role-semantic
ServletSecurityType<T> removeEmptyRoleSemantic()
empty-role-semantic
element
ServletSecurityType
ServletSecurityType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
transport-guarantee
element
transportGuarantee
- the value for the element transport-guarantee
ServletSecurityType
ServletSecurityType<T> transportGuarantee(String transportGuarantee)
transport-guarantee
element
transportGuarantee
- the value for the element transport-guarantee
ServletSecurityType
TransportGuaranteeType getTransportGuarantee()
transport-guarantee
element
transport-guarantee
String getTransportGuaranteeAsString()
transport-guarantee
element
transport-guarantee
ServletSecurityType<T> removeTransportGuarantee()
transport-guarantee
attribute
ServletSecurityType
ServletSecurityType<T> rolesAllowed(String... values)
roles-allowed
elements,
a new roles-allowed
element
values
- list of roles-allowed
objects
ServletSecurityType
List<String> getAllRolesAllowed()
roles-allowed
elements
roles-allowed
ServletSecurityType<T> removeAllRolesAllowed()
roles-allowed
element
ServletSecurityType
HttpMethodConstraintType<ServletSecurityType<T>> getOrCreateHttpMethodConstraint()
http-method-constraint
element will be created and returned.
Otherwise, the first existing http-method-constraint
element will be returned.
http-method-constraint
HttpMethodConstraintType<ServletSecurityType<T>> createHttpMethodConstraint()
http-method-constraint
element
HttpMethodConstraintType>
List<HttpMethodConstraintType<ServletSecurityType<T>>> getAllHttpMethodConstraint()
http-method-constraint
elements
http-method-constraint
ServletSecurityType<T> removeAllHttpMethodConstraint()
http-method-constraint
elements
HttpMethodConstraintType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |