Class PicketLinkIDMExternalStoreService

java.lang.Object
org.exoplatform.services.organization.idm.externalstore.PicketLinkIDMExternalStoreService
All Implemented Interfaces:
org.exoplatform.services.organization.externalstore.IDMExternalStoreService, org.picocontainer.Startable

public class PicketLinkIDMExternalStoreService extends Object implements org.exoplatform.services.organization.externalstore.IDMExternalStoreService, org.picocontainer.Startable
External Store API implementation for Picket Link IDM based OrganizationService implementation
  • Field Details

    • LOG

      public static final org.exoplatform.services.log.Log LOG
    • IDMUSER

      public static final org.exoplatform.services.organization.externalstore.model.IDMEntityType<org.picketlink.idm.api.User> IDMUSER
  • Constructor Details

    • PicketLinkIDMExternalStoreService

      public PicketLinkIDMExternalStoreService(org.exoplatform.services.organization.OrganizationService organizationService, PicketLinkIDMService picketLinkIDMService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.container.xml.InitParams params)
  • Method Details

    • start

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

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

      public boolean authenticate(String username, String password) throws Exception
      Specified by:
      authenticate in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • getAllOfType

      public org.exoplatform.commons.utils.ListAccess<String> getAllOfType(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, LocalDateTime sinceLastModified) throws Exception
      Specified by:
      getAllOfType in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • getAllInternalUsers

      public org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> getAllInternalUsers() throws Exception
      Specified by:
      getAllInternalUsers in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • isEntityPresent

      public boolean isEntityPresent(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, Object entityId) throws Exception
      Specified by:
      isEntityPresent in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • isEntityModified

      public boolean isEntityModified(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, String username) throws Exception
      Specified by:
      isEntityModified in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • getEntity

      public <T> T getEntity(org.exoplatform.services.organization.externalstore.model.IDMEntityType<T> entityType, Object entityId) throws Exception
      Specified by:
      getEntity in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
      Throws:
      Exception
    • getManagedEntityTypes

      public Set<org.exoplatform.services.organization.externalstore.model.IDMEntityType<?>> getManagedEntityTypes()
      Specified by:
      getManagedEntityTypes in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
    • executeOnExternalStore

      public Object executeOnExternalStore(PicketLinkIDMExternalStoreService.CheckedSupplier<Object> funtionToExecute) throws Exception
      Throws:
      Exception
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
    • isUpdateInformationOnLogin

      public boolean isUpdateInformationOnLogin()
      Specified by:
      isUpdateInformationOnLogin in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
    • setUpdateInformationOnLogin

      public void setUpdateInformationOnLogin(boolean updateInformationOnLogin)
    • getOrganizationService

      public org.exoplatform.services.organization.OrganizationService getOrganizationService()
      Specified by:
      getOrganizationService in interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
    • getListenerService

      public org.exoplatform.services.listener.ListenerService getListenerService()
    • getExternalStoreImportService

      public org.exoplatform.services.organization.externalstore.IDMExternalStoreImportService getExternalStoreImportService()
    • getFallbackStoreRepository

      public ExoFallbackIdentityStoreRepository getFallbackStoreRepository()
    • getReversedGroupTypeMappings

      public Map<String,String> getReversedGroupTypeMappings() throws Exception
      Throws:
      Exception
    • initializeGroupTree

      public void initializeGroupTree(Map<String,String> reversedGroupTypeMappings) throws Exception
      Throws:
      Exception