|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TokenCache
| Method Summary | |
|---|---|
void |
addToken(String urlReference,
Element token)
Add a token to the cache. |
void |
clear()
Remove all entries form the cache. |
Map |
getMap()
Return the Map from URL reference to token. |
Element |
getToken(String urlReference,
Identity identity)
Get a token from the cache. |
void |
removeToken(String urlReference)
Remove a token from the cache. |
| Method Detail |
|---|
void clear()
void addToken(String urlReference,
Element token)
urlReference - the key (e.g. http://example.com/service#1234-abc)token - the token
Element getToken(String urlReference,
Identity identity)
urlReference - a unique identifier for the source of the tokenidentity - the subject of the token
void removeToken(String urlReference)
urlReference - the key (e.g. http://example.com/service#1234-abc)Map getMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||