Class AuthenticationContext
java.lang.Object
com.atlassian.crowd.model.authentication.AuthenticationContext
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApplicationAuthenticationContext,UserAuthenticationContext
Minimal information necessary when authenticating with the Crowd server.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAuthenticationContext(String name, PasswordCredential credential, ValidationFactor[] validationFactors) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the authenticating credential information.getName()Gets the name of the authenticating entity.Gets the authenticating validation factors.inthashCode()voidsetCredential(PasswordCredential credential) Sets the authenticating credential information.voidSets the name of the authenticating entity.voidsetValidationFactors(ValidationFactor[] validationFactors) Sets the authenticating validation factors.toString()
-
Constructor Details
-
AuthenticationContext
protected AuthenticationContext() -
AuthenticationContext
protected AuthenticationContext(String name, @Nullable PasswordCredential credential, ValidationFactor[] validationFactors)
-
-
Method Details
-
getName
Gets the name of the authenticating entity.- Returns:
- The name.
-
setName
Sets the name of the authenticating entity.- Parameters:
name- The name.
-
getCredential
Gets the authenticating credential information.- Returns:
- The credentials.
-
setCredential
Sets the authenticating credential information.- Parameters:
credential- The credentials.
-
getValidationFactors
Gets the authenticating validation factors.- Returns:
- The validation factors.
-
setValidationFactors
Sets the authenticating validation factors.- Parameters:
validationFactors- The validation factors.
-
equals
-
hashCode
public int hashCode() -
toString
-