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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    run(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection event)
    Run only on Profile Entities

    Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

    close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 Entities

      The 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