uk.ac.soton.itinnovation.grid.client.staterepos
Class SAMLTokenCache

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.staterepos.SAMLTokenCache
All Implemented Interfaces:
TokenCache

public class SAMLTokenCache
extends Object
implements TokenCache


Constructor Summary
SAMLTokenCache()
           
 
Method Summary
 void addToken(Document requestSecurityTokenResponse)
           
 void addToken(String endpointAddress, Document requestSecurityTokenResponse)
           
 void clear()
           
 Element getToken(String endpointAddress)
           
 Element[] getTokens()
           
 void removeToken(Element token)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLTokenCache

public SAMLTokenCache()
Method Detail

addToken

public void addToken(Document requestSecurityTokenResponse)
Specified by:
addToken in interface TokenCache

addToken

public void addToken(String endpointAddress,
                     Document requestSecurityTokenResponse)
Specified by:
addToken in interface TokenCache

removeToken

public void removeToken(Element token)
Specified by:
removeToken in interface TokenCache

getTokens

public Element[] getTokens()
Specified by:
getTokens in interface TokenCache

getToken

public Element getToken(String endpointAddress)
Specified by:
getToken in interface TokenCache

clear

public void clear()
Specified by:
clear in interface TokenCache

size

public int size()
Specified by:
size in interface TokenCache


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.