Class AuthenticatedToken
java.lang.Object
com.atlassian.crowd.model.authentication.AuthenticatedToken
- All Implemented Interfaces:
Serializable
An authentication token maps the valid authentication. The
token
attribute maintains a unique identifier that can be validated verses the crowd
server.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AuthenticatedToken
public AuthenticatedToken()Default constructor. -
AuthenticatedToken
- Parameters:
name- The name of the authenticated principal or application.token- The token.
-
-
Method Details
-
getName
Gets the name of the authenticated client..- Returns:
- The name.
-
setName
Sets the name of the authenticated client.- Parameters:
name- The name.
-
getToken
Gets the token.- Returns:
- The token.
-
setToken
Sets the token.- Parameters:
token- The token.
-
equals
-
hashCode
public int hashCode() -
toString
-