Package org.imixs.workflow.ldap
Class LDAPPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.ldap.LDAPPlugin
- All Implemented Interfaces:
org.imixs.workflow.Plugin
public class LDAPPlugin
extends org.imixs.workflow.engine.plugins.AbstractPlugin
This Plugin runs on Profile Entities. The plugin makes a ldap lookup to
update the properties
txtUserName, txtEmail
The ldap property attribute-names are read from the imixs.propries file
- Author:
- rsoika
-
Field Summary
Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionrun(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection event) Run only on Profile EntitiesMethods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
Constructor Details
-
LDAPPlugin
public LDAPPlugin()
-
-
Method Details
-
run
public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.PluginException Run only on Profile EntitiesThe method load the user object form the LDAP Service and compares the attributes (defined in the imixs.properties 'ldap.user-attributes') with the current values. If necessary the attributes will be automatically updated.
- Throws:
org.imixs.workflow.exceptions.PluginException
-