Interface SecurityConstraintMapping

    • Method Detail

      • getName

        String getName()
        Returns <security-constraint>/<display-name>
        Returns:
      • getAuthRoles

        Collection<String> getAuthRoles()
        Returns a collection of <security-constraint>/<auth-constraint>/<role-name>
        Returns:
      • isAuthRolesSet

        default boolean isAuthRolesSet()
        When returning true, it means that empty roles collection mean "deny all authentication attempts". false means that authentication is successful despite the associated user roles. Effectively this flag disctinguishes between empty roles set (true) and no roles set at all (false).
        Returns:
      • getTransportGuarantee

        default javax.servlet.annotation.ServletSecurity.TransportGuarantee getTransportGuarantee()
        Returns <security-constraint>/<user-data-constraint>/<transport-guarantee>.
        Returns: