java.lang.Object
cloud.piranha.core.api.WebXmlSecurityConstraint
A security-constraint inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected])
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The <web-resource-collection> snippet inside a web.xml / webfragment.xml. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the role names.Get the transport guarantee.Get the web resource collections.void
setRoleNames
(List<String> roleNames) Set the role names.void
setTransportGuarantee
(String transportGuarantee) Set the transport guarantee.void
setWebResourceCollections
(List<WebXmlSecurityConstraint.WebResourceCollection> webResourceCollections) Set the web resource collections.
-
Constructor Details
-
WebXmlSecurityConstraint
public WebXmlSecurityConstraint()
-
-
Method Details
-
getRoleNames
Get the role names.- Returns:
- the role names.
-
getTransportGuarantee
Get the transport guarantee.- Returns:
- the transport guarantee.
-
getWebResourceCollections
Get the web resource collections.- Returns:
- the web resource collections.
-
setRoleNames
Set the role names.- Parameters:
roleNames
- the role names.
-
setTransportGuarantee
Set the transport guarantee.- Parameters:
transportGuarantee
- the transport guarantee.
-
setWebResourceCollections
public void setWebResourceCollections(List<WebXmlSecurityConstraint.WebResourceCollection> webResourceCollections) Set the web resource collections.- Parameters:
webResourceCollections
- the web resource collections.
-