es.rediris.papi.token
Class ASToken
java.lang.Object
es.rediris.papi.token.Token
es.rediris.papi.token.ASToken
- All Implemented Interfaces:
- Serializable
public class ASToken
- extends Token
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASToken
public ASToken()
ASToken
public ASToken(Assertion assertion,
long expiryTime,
long currentTime,
String location,
String serviceID)
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)