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() |
boolean |
isLocalCrowdWebAppAuthentication() |
void |
setApplication(String application)
Sets the application name the authentication
request is for.
|
void |
setLocalCrowdWebAppAuthentication(boolean localCrowdWebAppAuthentication) |
String |
toString() |
UserAuthenticationContext |
withName(String name) |
getCredential, getName, getValidationFactors, setCredential, setName, setValidationFactors
public 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 isLocalCrowdWebAppAuthentication()
public void setLocalCrowdWebAppAuthentication(boolean localCrowdWebAppAuthentication)
public boolean equals(Object o)
equals
in class AuthenticationContext
public int hashCode()
hashCode
in class AuthenticationContext
public String toString()
toString
in class AuthenticationContext
public UserAuthenticationContext withName(String name)
UserAuthenticationContext
that is a copy of this one with the username replaced with the provided valueCopyright © 2021 Atlassian. All rights reserved.