Class ExoRepositoryIdentityStoreSessionImpl
java.lang.Object
org.gatein.portal.idm.impl.repository.ExoRepositoryIdentityStoreSessionImpl
- All Implemented Interfaces:
org.picketlink.idm.spi.store.IdentityStoreSession
public class ExoRepositoryIdentityStoreSessionImpl
extends Object
implements org.picketlink.idm.spi.store.IdentityStoreSession
This class is used by external store API to store opened sessions (DB and/or
LDAP) in to close them at the end of transactions
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentityStoreSessionMapping(String id, org.picketlink.idm.spi.store.IdentityStoreSession identityStoreSession) voidclear()voidclose()voidorg.picketlink.idm.spi.store.IdentityStoreSessiongetIdentityStoreSession(String storeId) booleanisOpen()booleanbooleanvoidvoidvoidsave()void
-
Field Details
-
identityStoreSessionMappings
-
sessionOptions
-
-
Constructor Details
-
ExoRepositoryIdentityStoreSessionImpl
-
-
Method Details
-
getIdentityStoreSessionMappings
-
getSessionOptions
-
addIdentityStoreSessionMapping
public void addIdentityStoreSessionMapping(String id, org.picketlink.idm.spi.store.IdentityStoreSession identityStoreSession) -
removeIdentityStoreSessionMapping
-
getSessionContext
- Specified by:
getSessionContextin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
getIdentityStoreSession
-
close
public void close() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
closein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
save
public void save() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
savein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
clear
public void clear() throws org.picketlink.idm.common.exception.IdentityException- Specified by:
clearin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession- Throws:
org.picketlink.idm.common.exception.IdentityException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
isTransactionSupported
public boolean isTransactionSupported()- Specified by:
isTransactionSupportedin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
startTransaction
public void startTransaction()- Specified by:
startTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
commitTransaction
public void commitTransaction()- Specified by:
commitTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
rollbackTransaction
public void rollbackTransaction()- Specified by:
rollbackTransactionin interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-
isTransactionActive
public boolean isTransactionActive()- Specified by:
isTransactionActivein interfaceorg.picketlink.idm.spi.store.IdentityStoreSession
-