public class UserAuthenticationContext extends AuthenticationContext implements Serializable
UserAuthenticationContext is used to authenticate
users.| Constructor and Description |
|---|
UserAuthenticationContext() |
UserAuthenticationContext(String name,
PasswordCredential credential,
ValidationFactor[] validationFactors,
String application) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getApplication()
Gets the application name the authentication
request is for.
|
int |
hashCode() |
void |
setApplication(String application)
Sets the application name the authentication
request is for.
|
String |
toString() |
UserAuthenticationContext |
withName(String name) |
getCredential, getName, getValidationFactors, setCredential, setName, setValidationFactorspublic UserAuthenticationContext()
public UserAuthenticationContext(String name, @Nullable PasswordCredential credential, ValidationFactor[] validationFactors, String application)
public String getApplication()
public void setApplication(String application)
application - The application name.public boolean equals(Object o)
equals in class AuthenticationContextpublic int hashCode()
hashCode in class AuthenticationContextpublic String toString()
toString in class AuthenticationContextpublic UserAuthenticationContext withName(String name)
UserAuthenticationContext that is a copy of this one with the username replaced with the provided valueCopyright © 2020 Atlassian. All rights reserved.