public interface SAML2TokenRepository
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSAML2Token(String primaryKey)
Deletes the SAML2 object by using the passed primary key from the repository.
|
Object |
retrieveSAML2Token(String primaryKey)
Retrieves an existing SAML2 object from the CTS as an un-cast Object using the passed primary key.
|
List<Object> |
retrieveSAML2TokensWithSecondaryKey(String secondaryKey)
Retrieves a list of existing SAML2 objects from the CTS as un-cast Objects using the passed secondary key.
|
void |
saveSAML2Token(String primaryKey,
String secondaryKey,
Object samlObj,
long expirationTime)
Saves SAML2 data into the SAML2 Repository.
|
Object retrieveSAML2Token(String primaryKey) throws SAML2TokenRepositoryException
primaryKey - primary keySAML2TokenRepositoryException - if there was a problem accessing the SAML2 Token RepositoryList<Object> retrieveSAML2TokensWithSecondaryKey(String secondaryKey) throws SAML2TokenRepositoryException
secondaryKey - Secondary KeySAML2TokenRepositoryException - if there was a problem accessing the SAML2 Token Repositoryvoid deleteSAML2Token(String primaryKey) throws SAML2TokenRepositoryException
primaryKey - primary keySAML2TokenRepositoryException - if there was a problem accessing the SAML2 Token Repositoryvoid saveSAML2Token(String primaryKey, String secondaryKey, Object samlObj, long expirationTime) throws SAML2TokenRepositoryException
primaryKey - Primary key.secondaryKey - Secondary Key, can be nullsamlObj - the SAML2 object to store such as Response, IDPSession.expirationTime - Expiration time in seconds from epoch.SAML2TokenRepositoryException - if there was a problem accessing the SAML2 Token RepositoryCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.