Class SAMLToken
- java.lang.Object
-
- org.forgerock.openam.cts.api.tokens.SAMLToken
-
public class SAMLToken extends Object
This wrapper class wraps up the various fields of the SAML tokens and contains them in a single class. This allows the SAML use-case of the Core Token Service to be modelled via the TokenAdapter interface. The SAML tokens do not follow any hierarchy and so are of type Object. This doesn't cause a problem for the Core Token Service as the class information is persisted alongside the object.- Author:
- robert.wapshott@forgerock.com
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpiryTime()StringgetPrimaryKey()StringgetSecondaryKey()ObjectgetToken()
-
-
-
Constructor Detail
-
SAMLToken
public SAMLToken(String primaryKey, String secondaryKey, long expiryTime, Object token)
Create a new instance of the SAMLToken.- Parameters:
primaryKey- Primary key used as the Token ID.secondaryKey- Secondary key, used for searching over SAML Tokens.expiryTime- Expiry time mapped to Token Expiry Time in seconds from epoch.token- Object to be stored.- See Also:
LDAPDataConversion
-
-