Package org.frankframework.ldap
Class LdapFindMemberPipe
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.pipes.AbstractPipe
org.frankframework.pipes.FixedForwardPipe
org.frankframework.ldap.AbstractLdapQueryPipe
org.frankframework.ldap.LdapFindMemberPipe
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,IForwardTarget
,INamedObject
,IPipe
,IScopeProvider
,IWithParameters
,EventThrowing
,HasStatistics
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Pipe that checks if a specified dn exists as 'member' in another specified dn
in LDAP.
- Author:
- Peter Leeuwenburgh
-
Field Summary
Fields inherited from class org.frankframework.ldap.AbstractLdapQueryPipe
cf, exceptionForward, notFoundForward
Fields inherited from class org.frankframework.pipes.AbstractPipe
parameterNamesMustBeUnique
Fields inherited from class org.frankframework.core.TransactionAttributes
log
Fields inherited from interface org.frankframework.core.IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoPipeWithException
(Message message, PipeLineSession session) protected boolean
findMember
(String host, int port, String dnSearchIn, boolean useSsl, String dnFind, boolean recursiveSearch) boolean
void
The dn of the member to search for when the parameter dnFind is not setvoid
setDnSearchIn
(String string) The dn of the group to search in when the parameter dnSearchIn is not setvoid
setRecursiveSearch
(boolean b) whentrue
, the member attribute is also searched in all the found membersMethods inherited from class org.frankframework.ldap.AbstractLdapQueryPipe
configure, doPipe, getAuthAlias, getBaseDN, getExceptionForwardName, getHost, getLdapProviderURL, getNotFoundForwardName, getPassword, getPort, getUsername, isUseSsl, retrieveUrl, setAuthAlias, setBaseDN, setExceptionForwardName, setHost, setLdapProviderURL, setNotFoundForwardName, setPassword, setPort, setUsername, setUseSsl
Methods inherited from class org.frankframework.pipes.FixedForwardPipe
getIfParam, getIfValue, getOnlyIfSessionKey, getOnlyIfValue, getParameterValue, getSuccessForward, getUnlessSessionKey, getUnlessValue, isSkipOnEmptyInput, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
Methods inherited from class org.frankframework.pipes.AbstractPipe
addForward, addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getApplicationContext, getChompCharSize, getConfigurationClassLoader, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getEventSourceName, getForwards, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getLocker, getLogIntermediaryResults, getMaxThreads, getName, getParameterList, getPipeLine, getSecLogSessionKeys, getStoreResultInSessionKey, hasRegisteredForward, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, registerEvent, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setEventPublisher, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPipeLine, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, sizeStatisticsEnabled, start, stop, throwEvent
Methods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, getTransactionAttribute, getTransactionTimeout, getTxDef, isTransacted, isTransacted, setTransacted, setTransactionAttribute, setTransactionTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.core.IPipe
throwEvent
-
Constructor Details
-
LdapFindMemberPipe
public LdapFindMemberPipe()
-
-
Method Details
-
doPipeWithException
public PipeRunResult doPipeWithException(Message message, PipeLineSession session) throws PipeRunException - Specified by:
doPipeWithException
in classAbstractLdapQueryPipe
- Throws:
PipeRunException
-
findMember
protected boolean findMember(String host, int port, String dnSearchIn, boolean useSsl, String dnFind, boolean recursiveSearch) throws NamingException - Throws:
NamingException
-
setDnSearchIn
The dn of the group to search in when the parameter dnSearchIn is not set -
getDnSearchIn
-
setDnFind
The dn of the member to search for when the parameter dnFind is not set -
getDnFind
-
setRecursiveSearch
public void setRecursiveSearch(boolean b) whentrue
, the member attribute is also searched in all the found members- Default value
- true
-
isRecursiveSearch
public boolean isRecursiveSearch()
-