|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The storage interface to store security tokens and manipulate them
Field Summary | |
static 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(String id)
Returns the Token of the given id |
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 |
public static final String TOKEN_STORAGE_KEY
Method Detail |
public void add(Token token) throws TrustException
token
- The token to be added
TrustException
public void update(Token token) throws TrustException
token
-
TrustException
public String[] getTokenIdentifiers() throws TrustException
TrustException
public Token[] getExpiredTokens() throws TrustException
EXPIRED
tokens.
If there are no EXPIRED
tokens null
will be
returned
Tokens
TrustException
public Token[] getValidTokens() throws TrustException
Tokens
.
TrustException
public Token[] getRenewedTokens() throws TrustException
Tokens
TrustException
public Token[] getCancelledTokens() throws TrustException
Tokens
TrustException
public Token getToken(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 |