Class BasicAuthConstraint

java.lang.Object
org.eclipse.jetty.util.security.Constraint
org.citrusframework.http.security.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:
  • 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
    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BasicAuthConstraint

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