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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.services.organization.externalstore.model.IDMEntityType<org.picketlink.idm.api.User> static final org.exoplatform.services.log.LogFields inherited from interface org.exoplatform.services.organization.externalstore.IDMExternalStoreService
AUTHORIZE_LOGIN_PARAM, GROUP_ADDED_FROM_EXTERNAL_STORE, GROUP_DELETED_FROM_EXTERNAL_STORE, GROUP_MODIFIED_FROM_EXTERNAL_STORE, LDAP_MODIFICATION_DATE_FORMAT, UPDATE_USER_ON_LOGIN_PARAM, USER_ADDED_FROM_EXTERNAL_STORE, USER_AUTHENTICATED_USING_EXTERNAL_STORE, USER_DELETED_FROM_EXTERNAL_STORE, USER_MODIFIED_FROM_EXTERNAL_STORE, USER_PROFILE_ADDED_FROM_EXTERNAL_STORE -
Constructor Summary
ConstructorsConstructorDescriptionPicketLinkIDMExternalStoreService(org.exoplatform.services.organization.OrganizationService organizationService, PicketLinkIDMService picketLinkIDMService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password) executeOnExternalStore(PicketLinkIDMExternalStoreService.CheckedSupplier<Object> funtionToExecute) org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> org.exoplatform.commons.utils.ListAccess<String> getAllOfType(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, LocalDateTime sinceLastModified) <T> TgetEntity(org.exoplatform.services.organization.externalstore.model.IDMEntityType<T> entityType, Object entityId) org.exoplatform.services.organization.externalstore.IDMExternalStoreImportServiceorg.exoplatform.services.listener.ListenerServiceSet<org.exoplatform.services.organization.externalstore.model.IDMEntityType<?>> org.exoplatform.services.organization.OrganizationServicevoidinitializeGroupTree(Map<String, String> reversedGroupTypeMappings) booleanbooleanisEntityModified(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, String username) booleanisEntityPresent(org.exoplatform.services.organization.externalstore.model.IDMEntityType<?> entityType, Object entityId) booleanvoidsetUpdateInformationOnLogin(boolean updateInformationOnLogin) voidstart()voidstop()
-
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:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
authenticate
- Specified by:
authenticatein interfaceorg.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:
getAllOfTypein interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService- Throws:
Exception
-
getAllInternalUsers
public org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> getAllInternalUsers() throws Exception- Specified by:
getAllInternalUsersin interfaceorg.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:
isEntityPresentin interfaceorg.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:
isEntityModifiedin interfaceorg.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:
getEntityin interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService- Throws:
Exception
-
getManagedEntityTypes
public Set<org.exoplatform.services.organization.externalstore.model.IDMEntityType<?>> getManagedEntityTypes()- Specified by:
getManagedEntityTypesin interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService
-
executeOnExternalStore
public Object executeOnExternalStore(PicketLinkIDMExternalStoreService.CheckedSupplier<Object> funtionToExecute) throws Exception - Throws:
Exception
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService
-
isUpdateInformationOnLogin
public boolean isUpdateInformationOnLogin()- Specified by:
isUpdateInformationOnLoginin interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService
-
setUpdateInformationOnLogin
public void setUpdateInformationOnLogin(boolean updateInformationOnLogin) -
getOrganizationService
public org.exoplatform.services.organization.OrganizationService getOrganizationService()- Specified by:
getOrganizationServicein interfaceorg.exoplatform.services.organization.externalstore.IDMExternalStoreService
-
getListenerService
public org.exoplatform.services.listener.ListenerService getListenerService() -
getExternalStoreImportService
public org.exoplatform.services.organization.externalstore.IDMExternalStoreImportService getExternalStoreImportService() -
getFallbackStoreRepository
-
getReversedGroupTypeMappings
- Throws:
Exception
-
initializeGroupTree
- Throws:
Exception
-