es.rediris.papi.token
Class ASToken

java.lang.Object
  extended by es.rediris.papi.token.Token
      extended by es.rediris.papi.token.ASToken
All Implemented Interfaces:
Serializable

public class ASToken
extends Token

See Also:
Serialized Form

Field Summary
 
Fields inherited from class es.rediris.papi.token.Token
assertion
 
Constructor Summary
ASToken()
           
ASToken(Assertion assertion, long expiryTime, long currentTime, String location, String serviceID)
           
 
Method Summary
 Object getDataToken(TokenFormat format)
           
 long getExpiryTime()
           
 String getLocation()
           
 String getServiceID()
           
 void setDataToken(TokenFormat format, Object data)
           
 void setExpiryTime(long expiryTime)
           
 void setLocation(String location)
           
 void setServiceID(String serviceID)
           
 boolean validateToken(Config config)
           
 
Methods inherited from class es.rediris.papi.token.Token
getAssertion, setAssertion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASToken

public ASToken()

ASToken

public ASToken(Assertion assertion,
               long expiryTime,
               long currentTime,
               String location,
               String serviceID)
Method Detail

getDataToken

public Object getDataToken(TokenFormat format)
Specified by:
getDataToken in class Token

setDataToken

public void setDataToken(TokenFormat format,
                         Object data)
Specified by:
setDataToken in class Token

getExpiryTime

public long getExpiryTime()

setExpiryTime

public void setExpiryTime(long expiryTime)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

getServiceID

public String getServiceID()

setServiceID

public void setServiceID(String serviceID)

validateToken

public boolean validateToken(Config config)