|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TokenStorage
The storage interface to store security tokens and manipulate them
| Field Summary | |
|---|---|
static java.lang.String |
TOKEN_STORAGE_KEY
|
| Method Summary | |
|---|---|
void |
add(Token token)
Add the given token to the list. |
Token[] |
getCancelledTokens()
Return the list of CANCELLED tokens |
Token[] |
getExpiredTokens()
Return the list of EXPIRED tokens. |
Token[] |
getRenewedTokens()
Return the list of RENEWED tokens. |
Token |
getToken(java.lang.String id)
Returns the Token of the given id |
java.lang.String[] |
getTokenIdentifiers()
Return the list of all token identifiers. |
Token[] |
getValidTokens()
Return the list of ISSUED and RENEWED tokens. |
void |
update(Token token)
Update an existing token. |
| Field Detail |
|---|
static final java.lang.String TOKEN_STORAGE_KEY
| Method Detail |
|---|
void add(Token token)
throws TrustException
token - The token to be added
TrustException
void update(Token token)
throws TrustException
token -
TrustException
java.lang.String[] getTokenIdentifiers()
throws TrustException
TrustException
Token[] getExpiredTokens()
throws TrustException
EXPIRED tokens.
If there are no EXPIRED tokens null will be
returned
Tokens
TrustException
Token[] getValidTokens()
throws TrustException
Tokens.
TrustException
Token[] getRenewedTokens()
throws TrustException
Tokens
TrustException
Token[] getCancelledTokens()
throws TrustException
Tokens
TrustException
Token getToken(java.lang.String id)
throws TrustException
Token of the given id
id -
Token identified by the give id
TrustException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||