|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.token.DefaultToken
public class DefaultToken
The default implementation of Token
.
Constructor Summary | |
---|---|
DefaultToken(String key,
long keyCreationTime,
String extendedInformation)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getExtendedInformation()
Obtains the extended information associated within the token, which was presented when the token was first created. |
String |
getKey()
Obtains the randomised, secure key assigned to this token. |
long |
getKeyCreationTime()
The time the token key was initially created is available from this method. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultToken(String key, long keyCreationTime, String extendedInformation)
Method Detail |
---|
public String getKey()
Token
TokenService
will always return a Token
that is equal to the original
Token
issued for that key.
getKey
in interface Token
public long getKeyCreationTime()
Token
TokenService
to replace the original token.
getKeyCreationTime
in interface Token
public String getExtendedInformation()
Token
getExtendedInformation
in interface Token
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |