|
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 |
SecurityToken |
getTokenByAssociatedHash(int hashCode)
Returns the Token by the associated hash. |
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
TokenStoreExceptionvoid 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
TokensCollection<SecurityToken> getValidTokens()
Tokens.Collection<SecurityToken> getRenewedTokens()
TokensCollection<SecurityToken> getCancelledTokens()
TokensSecurityToken getToken(String id)
Token of the given id
id -
Token identified by the give idSecurityToken getTokenByAssociatedHash(int hashCode)
Token by the associated hash.
hashCode -
Token by the associated hash.void 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 | |||||||||