@UriEndpoint(scheme="ldap",
title="LDAP",
syntax="ldap:dirContextName",
producerOnly=true,
label="ldap")
public class LdapEndpoint
extends org.apache.camel.impl.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 |
---|---|
|
LdapEndpoint(String endpointUri,
String remaining) |
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() |
boolean |
isSingleton() |
void |
setBase(String base)
The base DN for searches.
|
void |
setDirContextName(String dirContextName)
Name of
DirContext bean to lookup in the registry. |
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, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public 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
URISyntaxException
public LdapEndpoint(String endpointUri, String remaining) throws URISyntaxException
URISyntaxException
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public String getDirContextName()
public void setDirContextName(String dirContextName)
DirContext
bean to lookup in the registry.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