Class BasicAuthConstraint

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class BasicAuthConstraint
    extends org.eclipse.jetty.util.security.Constraint
    Convenient constraint instantiation for basic authentication and multiple user roles.
    Since:
    1.3
    Author:
    Christoph Deppisch
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.security.Constraint

        __BASIC_AUTH, __CERT_AUTH, __CERT_AUTH2, __DIGEST_AUTH, __FORM_AUTH, __NEGOTIATE_AUTH, __OPENID_AUTH, __SPNEGO_AUTH, ANY_AUTH, ANY_ROLE, DC_CONFIDENTIAL, DC_FORBIDDEN, DC_INTEGRAL, DC_NONE, DC_UNSET, NONE
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicAuthConstraint​(String[] roles)
      Default constructor using fields.
    • Method Summary

      • Methods inherited from class org.eclipse.jetty.util.security.Constraint

        clone, getAuthenticate, getDataConstraint, getName, getRoles, hasDataConstraint, hasRole, isAnyAuth, isAnyRole, isForbidden, setAuthenticate, setDataConstraint, setName, setRoles, toString, validateMethod
    • Constructor Detail

      • BasicAuthConstraint

        public BasicAuthConstraint​(String[] roles)
        Default constructor using fields.