Package javax.servlet

Class HttpConstraintElement

    • Constructor Detail

      • HttpConstraintElement

        public HttpConstraintElement()
        Constructor.
      • HttpConstraintElement

        public HttpConstraintElement​(ServletSecurity.EmptyRoleSemantic emptyRoleSemantic)
        Constructor.
        Parameters:
        emptyRoleSemantic - the EmptyRoleSemantic.
      • HttpConstraintElement

        public HttpConstraintElement​(ServletSecurity.TransportGuarantee transportGuarantee,
                                     String... rolesAllowed)
        Constructor.
        Parameters:
        transportGuarantee - the TransportGuarantee.
        rolesAllowed - the roles allowed.
    • Method Detail

      • getRolesAllowed

        public String[] getRolesAllowed()
        Get the roles allowed.
        Returns:
        the roles allowed.