|
|||||||||||
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. |
ArrayList |
getCancelledTokens()
Return the list of CANCELLED tokens |
ArrayList |
getExpiredTokens()
Return the list of EXPIRED tokens. |
ArrayList |
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. |
ArrayList |
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 ArrayList getExpiredTokens() throws TrustException
EXPIRED
tokens.
If there are no EXPIRED
tokens null
will be
returned
TrustException
public ArrayList getValidTokens() throws TrustException
TrustException
public ArrayList getRenewedTokens() throws TrustException
TrustException
public ArrayList getCancelledTokens() throws TrustException
TrustException
public Token getToken(String id) throws TrustException
Token
of the given id
id
-
TrustException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |