Class AuthenticationContext

java.lang.Object
com.atlassian.crowd.model.authentication.AuthenticationContext
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ApplicationAuthenticationContext, UserAuthenticationContext

public abstract class AuthenticationContext extends Object implements Serializable
Minimal information necessary when authenticating with the Crowd server.
See Also:
  • Constructor Details

    • AuthenticationContext

      protected AuthenticationContext()
    • AuthenticationContext

      protected AuthenticationContext(String name, @Nullable PasswordCredential credential, ValidationFactor[] validationFactors)
  • Method Details

    • getName

      public String getName()
      Gets the name of the authenticating entity.
      Returns:
      The name.
    • setName

      public void setName(String name)
      Sets the name of the authenticating entity.
      Parameters:
      name - The name.
    • getCredential

      @Nullable public PasswordCredential getCredential()
      Gets the authenticating credential information.
      Returns:
      The credentials.
    • setCredential

      public void setCredential(PasswordCredential credential)
      Sets the authenticating credential information.
      Parameters:
      credential - The credentials.
    • getValidationFactors

      public ValidationFactor[] getValidationFactors()
      Gets the authenticating validation factors.
      Returns:
      The validation factors.
    • setValidationFactors

      public void setValidationFactors(ValidationFactor[] validationFactors)
      Sets the authenticating validation factors.
      Parameters:
      validationFactors - The validation factors.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object