|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.comms.client.SAMLTokenCache
public class SAMLTokenCache
SAMLTokenCache.java
| Constructor Summary | |
|---|---|
SAMLTokenCache()
|
|
| Method Summary | |
|---|---|
void |
addToken(String urlRef,
Element token)
Add a token to the cache. |
void |
clear()
Remove all entries form the cache. |
HashMap |
getMap()
Return the Map from URL reference to token. |
Element |
getToken(String urlReference,
Identity identity)
Get a token from the cache. |
void |
removeToken(String urlRef)
Remove a token from the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAMLTokenCache()
| Method Detail |
|---|
public void addToken(String urlRef,
Element token)
TokenCache
addToken in interface TokenCacheurlRef - the key (e.g. http://example.com/service#1234-abc)token - the token
public Element getToken(String urlReference,
Identity identity)
TokenCache
getToken in interface TokenCacheurlReference - a unique identifier for the source of the tokenidentity - the subject of the token
public void removeToken(String urlRef)
TokenCache
removeToken in interface TokenCacheurlRef - the key (e.g. http://example.com/service#1234-abc)public void clear()
TokenCache
clear in interface TokenCachepublic HashMap getMap()
TokenCache
getMap in interface TokenCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||