@UriEndpoint(firstVersion="1.5.0",
scheme="ldap",
title="LDAP",
syntax="ldap:dirContextName",
producerOnly=true,
label="ldap")
public class LdapEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Modifier and Type | Field and Description |
|---|---|
static String |
OBJECT_SCOPE |
static String |
ONELEVEL_SCOPE |
static String |
SUBTREE_SCOPE |
static String |
SYSTEM_DN |
| Modifier | Constructor and Description |
|---|---|
protected |
LdapEndpoint(String endpointUri,
String remaining,
LdapComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getBase() |
String |
getDirContextName() |
int |
getPageSize() |
String |
getReturnedAttributes() |
String |
getScope() |
void |
setBase(String base)
The base DN for searches.
|
void |
setDirContextName(String dirContextName)
|
void |
setPageSize(Integer pageSize)
When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query).
|
void |
setReturnedAttributes(String returnedAttributes)
Comma-separated list of attributes that should be set in each entry of the result
|
void |
setScope(String scope)
Specifies how deeply to search the tree of entries, starting at the base DN.
|
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final String SYSTEM_DN
public static final String OBJECT_SCOPE
public static final String ONELEVEL_SCOPE
public static final String SUBTREE_SCOPE
protected LdapEndpoint(String endpointUri, String remaining, LdapComponent component) throws URISyntaxException
URISyntaxExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getDirContextName()
public void setDirContextName(String dirContextName)
DirContext, or Hashtable, or Map bean to lookup in the registry.
If the bean is either a Hashtable or Map then a new DirContext instance is created for each use. If the bean
is a DirContext then the bean is used as given. The latter may not be possible in all situations where
the DirContext must not be shared, and in those situations it can be better to use Hashtable or Map instead.public void setPageSize(Integer pageSize)
public int getPageSize()
public String getBase()
public void setBase(String base)
public String getScope()
public void setScope(String scope)
public String getReturnedAttributes()
public void setReturnedAttributes(String returnedAttributes)
Apache Camel