Class PicketLinkIDMOrganizationServiceImpl
java.lang.Object
org.exoplatform.services.organization.BaseOrganizationService
org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentRequestLifecycle,org.exoplatform.services.organization.OrganizationService,org.picocontainer.Startable
public class PicketLinkIDMOrganizationServiceImpl
extends org.exoplatform.services.organization.BaseOrganizationService
implements org.picocontainer.Startable, org.exoplatform.container.component.ComponentRequestLifecycle
OrganizationService implementation using PicketLink
-
Field Summary
FieldsFields inherited from class org.exoplatform.services.organization.BaseOrganizationService
groupDAO_, listeners_, LOG, membershipDAO_, membershipTypeDAO_, userDAO_, userProfileDAO_Fields inherited from interface org.exoplatform.services.organization.OrganizationService
EXTERNAL_STORE, INTERNAL_STORE, USER_AUTHENTICATED_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionPicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService) PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendRequest(org.exoplatform.container.ExoContainer container) voidflush()final org.picketlink.idm.api.GroupgetJBIDMGroup(String groupId) booleanisStarted(org.exoplatform.container.ExoContainer container) voidRecover from an IDM errorvoidsetConfiguration(Config configuration) voidsetEnableCache(boolean enable) voidstart()voidstartRequest(org.exoplatform.container.ExoContainer container) voidstop()Methods inherited from class org.exoplatform.services.organization.BaseOrganizationService
addListenerPlugin, getGroupHandler, getMembershipHandler, getMembershipTypeHandler, getUserHandler, getUserProfileHandler
-
Field Details
-
CONFIGURATION_OPTION
- See Also:
-
-
Constructor Details
-
PicketLinkIDMOrganizationServiceImpl
public PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler) throws Exception - Throws:
Exception
-
PicketLinkIDMOrganizationServiceImpl
public PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService) throws Exception - Throws:
Exception
-
-
Method Details
-
getJBIDMGroup
- Throws:
Exception
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable- Overrides:
startin classorg.exoplatform.services.organization.BaseOrganizationService
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
startRequest
public void startRequest(org.exoplatform.container.ExoContainer container) - Specified by:
startRequestin interfaceorg.exoplatform.container.component.ComponentRequestLifecycle- Overrides:
startRequestin classorg.exoplatform.services.organization.BaseOrganizationService
-
flush
public void flush() -
endRequest
public void endRequest(org.exoplatform.container.ExoContainer container) - Specified by:
endRequestin interfaceorg.exoplatform.container.component.ComponentRequestLifecycle- Overrides:
endRequestin classorg.exoplatform.services.organization.BaseOrganizationService
-
isStarted
public boolean isStarted(org.exoplatform.container.ExoContainer container) - Specified by:
isStartedin interfaceorg.exoplatform.container.component.ComponentRequestLifecycle
-
recoverFromIDMError
public void recoverFromIDMError()Recover from an IDM error -
getConfiguration
-
clearCaches
public void clearCaches() -
setEnableCache
public void setEnableCache(boolean enable) -
setConfiguration
-