|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenStore
Method Summary | |
---|---|
void |
add(SecurityToken token)
Add the given token to the list. |
Collection<SecurityToken> |
getCancelledTokens()
Return the list of CANCELLED tokens |
Collection<SecurityToken> |
getExpiredTokens()
Return the list of EXPIRED tokens. |
Collection<SecurityToken> |
getRenewedTokens()
Return the list of RENEWED tokens. |
SecurityToken |
getToken(String id)
Returns the Token of the given id |
Collection<String> |
getTokenIdentifiers()
Return the list of all token identifiers. |
Collection<SecurityToken> |
getValidTokens()
Return the list of ISSUED and RENEWED tokens. |
void |
remove(SecurityToken token)
Remove an existing token. |
void |
removeCancelledTokens()
Removes all cancelled tokens. |
void |
removeExpiredTokens()
Removes all expired tokens. |
void |
setAutoRemoveTokens(boolean auto)
Controls whether the store will automatically remove cancelled and expired tokens. |
void |
update(SecurityToken token)
Update an existing token. |
Method Detail |
---|
void add(SecurityToken token)
token
- The token to be added
TokenStoreException
void update(SecurityToken token)
token
- void remove(SecurityToken token)
Collection<String> getTokenIdentifiers()
Collection<SecurityToken> getExpiredTokens()
EXPIRED
tokens.
If there are no EXPIRED
tokens null
will be
returned
Tokens
Collection<SecurityToken> getValidTokens()
Tokens
.Collection<SecurityToken> getRenewedTokens()
Tokens
Collection<SecurityToken> getCancelledTokens()
Tokens
SecurityToken getToken(String id)
Token
of the given id
id
-
Token
identified by the give idvoid removeExpiredTokens()
void removeCancelledTokens()
void setAutoRemoveTokens(boolean auto)
auto
-
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |