Package com.atlassian.crowd.model.token
Class ImmutableToken
java.lang.Object
com.atlassian.crowd.model.token.ImmutableToken
- All Implemented Interfaces:
AuthenticationToken
-
Nested Class Summary
-
Field Summary
Fields inherited from interface com.atlassian.crowd.model.token.AuthenticationToken
APPLICATION_TOKEN_DIRECTORY_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableToken.Builder
builder()
static ImmutableToken.Builder
builder
(ImmutableToken data) boolean
long
getId()
long
getName()
long
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.model.token.AuthenticationToken
isApplicationToken, isUserToken
-
Constructor Details
-
ImmutableToken
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceAuthenticationToken
-
getIdentifierHash
- Specified by:
getIdentifierHash
in interfaceAuthenticationToken
-
getRandomHash
- Specified by:
getRandomHash
in interfaceAuthenticationToken
-
getRandomNumber
public long getRandomNumber()- Specified by:
getRandomNumber
in interfaceAuthenticationToken
-
getCreatedDate
- Specified by:
getCreatedDate
in interfaceAuthenticationToken
-
getLastAccessedTime
public long getLastAccessedTime()- Specified by:
getLastAccessedTime
in interfaceAuthenticationToken
-
getDuration
-
getName
- Specified by:
getName
in interfaceAuthenticationToken
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryId
in interfaceAuthenticationToken
-
getUnaliasedUsername
- Specified by:
getUnaliasedUsername
in interfaceAuthenticationToken
-
getLifetime
- Specified by:
getLifetime
in interfaceAuthenticationToken
-
builder
-
builder
-
equals
-
hashCode
public int hashCode() -
toString
-