public class SpringLdapProducer
extends org.apache.camel.impl.DefaultProducer
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTES |
static String |
DN |
static String |
FILTER |
static String |
FUNCTION |
static String |
MODIFICATION_ITEMS |
static String |
PASSWORD |
static String |
REQUEST |
| Constructor and Description |
|---|
SpringLdapProducer(SpringLdapEndpoint endpoint)
Initializes the SpringLdapProducer with the given endpoint
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange)
Performs the LDAP operation defined in SpringLdapEndpoint that created
this producer.
|
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic static final String DN
public static final String FILTER
public static final String ATTRIBUTES
public static final String PASSWORD
public static final String MODIFICATION_ITEMS
public static final String FUNCTION
public static final String REQUEST
public SpringLdapProducer(SpringLdapEndpoint endpoint)
public void process(org.apache.camel.Exchange exchange)
throws Exception
key: "dn" - base DN for the LDAP operation key: "filter" - necessary for the search operation only; LDAP filter for the search operation, see http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol key: "attributes" - necessary for the bind operation only; an instance of javax.naming.directory.Attributes, containing the information necessary to create an LDAP node. key: "password" - necessary for the authentication operation only; key: "modificationItems" - necessary for the modify_attributes operation only; key: "function" - necessary for the function_driven operation only; provides a flexible hook into theThe keys are defined as final fields above.LdapTemplateto call any method key: "request" - necessary for the function_driven operation only; passed into the "function" to enable the client to bind parameters that need to be passed into theLdapTemplate
ExceptionApache Camel