public abstract class AuthenticationContext extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
AuthenticationContext() |
protected |
AuthenticationContext(String name,
PasswordCredential credential,
ValidationFactor[] validationFactors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PasswordCredential |
getCredential()
Gets the authenticating credential information.
|
String |
getName()
Gets the name of the authenticating entity.
|
ValidationFactor[] |
getValidationFactors()
Gets the authenticating validation factors.
|
int |
hashCode() |
void |
setCredential(PasswordCredential credential)
Sets the authenticating credential information.
|
void |
setName(String name)
Sets the name of the authenticating entity.
|
void |
setValidationFactors(ValidationFactor[] validationFactors)
Sets the authenticating validation factors.
|
String |
toString() |
protected AuthenticationContext()
protected AuthenticationContext(String name, @Nullable PasswordCredential credential, ValidationFactor[] validationFactors)
public String getName()
public void setName(String name)
name
- The name.@Nullable public PasswordCredential getCredential()
public void setCredential(PasswordCredential credential)
credential
- The credentials.public ValidationFactor[] getValidationFactors()
public void setValidationFactors(ValidationFactor[] validationFactors)
validationFactors
- The validation factors.Copyright © 2020 Atlassian. All rights reserved.