Atavism Version 2018.1AGIS API

atavism.server.util
Class SecureToken

java.lang.Object
  extended by atavism.server.util.SecureToken

public final class SecureToken
extends java.lang.Object

A read-only representation of a secure token. This object is produced by the SecureTokenManager when decoding a token coming from another server.


Field Summary
protected  byte[] authenticator
           
protected  long keyId
           
protected  SecureTokenSpec spec
           
protected static byte TOKEN_VERSION
           
protected  long tokenId
           
protected  boolean valid
           
protected  byte version
           
 
Method Summary
 byte[] getAuthenticator()
           
 long getExpiry()
           
 java.lang.String getIssuerId()
           
 long getKeyId()
           
 java.io.Serializable getProperty(java.lang.String key)
           
 long getTokenId()
           
 byte getType()
           
 boolean getValid()
           
 byte getVersion()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

spec

protected final SecureTokenSpec spec

version

protected final byte version

tokenId

protected final long tokenId

keyId

protected final long keyId

authenticator

protected final byte[] authenticator

valid

protected final boolean valid

TOKEN_VERSION

protected static final byte TOKEN_VERSION
See Also:
Constant Field Values
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getType

public byte getType()

getIssuerId

public java.lang.String getIssuerId()

getExpiry

public long getExpiry()

getProperty

public java.io.Serializable getProperty(java.lang.String key)

getVersion

public byte getVersion()

getTokenId

public long getTokenId()

getKeyId

public long getKeyId()

getValid

public boolean getValid()

getAuthenticator

public byte[] getAuthenticator()


Copyright © 2018 Dragonsan Studios Sp. z o.o.