Package com.gigaspaces.security
Class AuthenticationToken
java.lang.Object
com.gigaspaces.security.AuthenticationToken
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
An Authentication token which is used to further interact without using sensitive authentication
details (i.e. password). Tokens are usually cached and leased for a specific time period.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructAuthenticationToken(SessionId sessionId) Constructs an authentication token with a random session id. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AuthenticationToken
public AuthenticationToken()Empty construct -
AuthenticationToken
Constructs an authentication token with a random session id.
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-