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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields 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

    Constructors
    Constructor
    Description
    PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.gatein.common.transaction.JTAUserTransactionLifecycleService jtaTransactionLifecycleService)
     
    PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.gatein.common.transaction.JTAUserTransactionLifecycleService jtaTransactionLifecycleService, org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    endRequest(org.exoplatform.container.ExoContainer container)
     
    void
     
     
    final org.picketlink.idm.api.Group
     
    boolean
    isStarted(org.exoplatform.container.ExoContainer container)
     
    void
    Recover from an IDM error Should be used only for non-JTA environment.
    void
    setConfiguration(Config configuration)
     
    void
    setEnableCache(boolean enable)
     
    void
     
    void
    startRequest(org.exoplatform.container.ExoContainer container)
     
    void
     

    Methods inherited from class org.exoplatform.services.organization.BaseOrganizationService

    addListenerPlugin, getGroupHandler, getMembershipHandler, getMembershipTypeHandler, getUserHandler, getUserProfileHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PicketLinkIDMOrganizationServiceImpl

      public PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.gatein.common.transaction.JTAUserTransactionLifecycleService jtaTransactionLifecycleService, org.exoplatform.services.organization.cache.OrganizationCacheHandler organizationCacheHandler) throws Exception
      Throws:
      Exception
    • PicketLinkIDMOrganizationServiceImpl

      public PicketLinkIDMOrganizationServiceImpl(org.exoplatform.container.xml.InitParams params, PicketLinkIDMService idmService, org.gatein.common.transaction.JTAUserTransactionLifecycleService jtaTransactionLifecycleService) throws Exception
      Throws:
      Exception
  • Method Details

    • getJBIDMGroup

      public final org.picketlink.idm.api.Group getJBIDMGroup(String groupId) throws Exception
      Throws:
      Exception
    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
      Overrides:
      start in class org.exoplatform.services.organization.BaseOrganizationService
    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable
    • startRequest

      public void startRequest(org.exoplatform.container.ExoContainer container)
      Specified by:
      startRequest in interface org.exoplatform.container.component.ComponentRequestLifecycle
      Overrides:
      startRequest in class org.exoplatform.services.organization.BaseOrganizationService
    • flush

      public void flush()
    • endRequest

      public void endRequest(org.exoplatform.container.ExoContainer container)
      Specified by:
      endRequest in interface org.exoplatform.container.component.ComponentRequestLifecycle
      Overrides:
      endRequest in class org.exoplatform.services.organization.BaseOrganizationService
    • isStarted

      public boolean isStarted(org.exoplatform.container.ExoContainer container)
      Specified by:
      isStarted in interface org.exoplatform.container.component.ComponentRequestLifecycle
    • recoverFromIDMError

      public void recoverFromIDMError()
      Recover from an IDM error Should be used only for non-JTA environment.
    • getConfiguration

      public Config getConfiguration()
    • clearCaches

      public void clearCaches()
    • setEnableCache

      public void setEnableCache(boolean enable)
    • setConfiguration

      public void setConfiguration(Config configuration)