
public interface ServletSecurityType<T> extends Child<T>
servlet-securityType xsd type| Modifier and Type | Method and Description |
|---|---|
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 |
ServletSecurityType<T> emptyRoleSemantic(String emptyRoleSemantic)
empty-role-semantic elementemptyRoleSemantic - the value for the element empty-role-semanticServletSecurityTypeString getEmptyRoleSemantic()
empty-role-semantic elementempty-role-semanticServletSecurityType<T> removeEmptyRoleSemantic()
empty-role-semantic elementServletSecurityTypeServletSecurityType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
transport-guarantee elementtransportGuarantee - the value for the element transport-guaranteeServletSecurityTypeServletSecurityType<T> transportGuarantee(String transportGuarantee)
transport-guarantee elementtransportGuarantee - the value for the element transport-guaranteeServletSecurityTypeTransportGuaranteeType getTransportGuarantee()
transport-guarantee elementtransport-guaranteeString getTransportGuaranteeAsString()
transport-guarantee elementtransport-guaranteeServletSecurityType<T> removeTransportGuarantee()
transport-guarantee attributeServletSecurityTypeServletSecurityType<T> rolesAllowed(String... values)
roles-allowed elements,
a new roles-allowed elementvalues - list of roles-allowed objectsServletSecurityTypeList<String> getAllRolesAllowed()
roles-allowed elementsroles-allowedServletSecurityType<T> removeAllRolesAllowed()
roles-allowed elementServletSecurityTypeHttpMethodConstraintType<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-constraintHttpMethodConstraintType<ServletSecurityType<T>> createHttpMethodConstraint()
http-method-constraint elementHttpMethodConstraintType> List<HttpMethodConstraintType<ServletSecurityType<T>>> getAllHttpMethodConstraint()
http-method-constraint elementshttp-method-constraintServletSecurityType<T> removeAllHttpMethodConstraint()
http-method-constraint elementsHttpMethodConstraintType> Copyright © 2025 JBoss by Red Hat. All rights reserved.