atavism.server.util
Class SecureTokenSpec
java.lang.Object
atavism.server.util.SecureTokenSpec
public final class SecureTokenSpec
- extends java.lang.Object
A specification of the contents of a secure token. This object
is used by the SecureTokenManger to create a secure token.
Constructor Summary |
SecureTokenSpec(byte type,
java.lang.String issuerId,
long expiry)
|
SecureTokenSpec(byte type,
java.lang.String issuerId,
long expiry,
java.util.Map<java.lang.String,java.io.Serializable> properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN_TYPE_MASTER
public static final byte TOKEN_TYPE_MASTER
- See Also:
- Constant Field Values
TOKEN_TYPE_DOMAIN
public static final byte TOKEN_TYPE_DOMAIN
- See Also:
- Constant Field Values
SecureTokenSpec
public SecureTokenSpec(byte type,
java.lang.String issuerId,
long expiry)
SecureTokenSpec
public SecureTokenSpec(byte type,
java.lang.String issuerId,
long expiry,
java.util.Map<java.lang.String,java.io.Serializable> properties)
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)
setProperty
public void setProperty(java.lang.String key,
java.io.Serializable value)
getPropertyMap
public java.util.TreeMap<java.lang.String,java.io.Serializable> getPropertyMap()