Class WebXmlSecurityConstraint

java.lang.Object
cloud.piranha.core.api.WebXmlSecurityConstraint

public class WebXmlSecurityConstraint extends Object
A security-constraint inside of web.xml/web-fragment.xml.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • WebXmlSecurityConstraint

      public WebXmlSecurityConstraint()
  • Method Details

    • getRoleNames

      public List<String> getRoleNames()
      Get the role names.
      Returns:
      the role names.
    • getTransportGuarantee

      public String getTransportGuarantee()
      Get the transport guarantee.
      Returns:
      the transport guarantee.
    • getWebResourceCollections

      public List<WebXmlSecurityConstraint.WebResourceCollection> getWebResourceCollections()
      Get the web resource collections.
      Returns:
      the web resource collections.
    • setRoleNames

      public void setRoleNames(List<String> roleNames)
      Set the role names.
      Parameters:
      roleNames - the role names.
    • setTransportGuarantee

      public void setTransportGuarantee(String transportGuarantee)
      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.