es.rediris.papi.token
Class GPoACheckedToken

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

public class GPoACheckedToken
extends Token

See Also:
Serialized Form

Field Summary
 
Fields inherited from class es.rediris.papi.token.Token
assertion
 
Constructor Summary
GPoACheckedToken()
           
GPoACheckedToken(Assertion assertion, long expiryTime, String key)
           
 
Method Summary
 Object getDataToken(TokenFormat format)
           
 long getExpiryTime()
           
 String getKey()
           
 void setDataToken(TokenFormat format, Object data)
           
 void setExpiryTime(long expiryTime)
           
 void setKey(String key)
           
 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

GPoACheckedToken

public GPoACheckedToken()

GPoACheckedToken

public GPoACheckedToken(Assertion assertion,
                        long expiryTime,
                        String key)
Method Detail

getExpiryTime

public long getExpiryTime()

setExpiryTime

public void setExpiryTime(long expiryTime)

getKey

public String getKey()

setKey

public void setKey(String key)

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

validateToken

public boolean validateToken(Config config)