|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.security.trust.SimpleTokenStore
In-memory implementation of the token storage
Constructor Summary | |
SimpleTokenStore()
|
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. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleTokenStore()
Method Detail |
public void add(Token token) throws TrustException
TokenStorage
add
in interface TokenStorage
token
- The token to be added
TrustException
public void update(Token token) throws TrustException
TokenStorage
update
in interface TokenStorage
token
-
TrustException
public String[] gettokenIdentifiers() throws TrustException
TokenStorage
gettokenIdentifiers
in interface TokenStorage
TrustException
public ArrayList getExpiredTokens() throws TrustException
TokenStorage
EXPIRED
tokens.
If there are no EXPIRED
tokens null
will be
returned
getExpiredTokens
in interface TokenStorage
TrustException
public ArrayList getCancelledTokens() throws TrustException
TokenStorage
getCancelledTokens
in interface TokenStorage
TrustException
public ArrayList getValidTokens() throws TrustException
TokenStorage
getValidTokens
in interface TokenStorage
TrustException
public ArrayList getRenewedTokens() throws TrustException
TokenStorage
getRenewedTokens
in interface TokenStorage
TrustException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |