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:
FrankElement, HasApplicationContext, HasName, HasTransactionAttribute, IConfigurable, IForwardTarget, IPipe, IScopeProvider, IWithParameters, NameAware, EventThrowing, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle
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 AbstractLdapQueryPipe
cf, exceptionForward, notFoundForwardFields inherited from class AbstractPipe
parameterNamesMustBeUniqueFields inherited from class TransactionAttributes
logFields inherited from interface IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoPipeWithException(Message message, PipeLineSession session) protected booleanfindMember(String host, int port, String dnSearchIn, boolean useSsl, String dnFind, boolean recursiveSearch) booleanvoidThe dn of the member to search for when the parameter dnFind is not setvoidsetDnSearchIn(String string) The dn of the group to search in when the parameter dnSearchIn is not setvoidsetRecursiveSearch(boolean b) whentrue, the member attribute is also searched in all the found membersMethods inherited from class AbstractLdapQueryPipe
configure, doPipe, retrieveUrl, setAuthAlias, setBaseDN, setExceptionForwardName, setHost, setLdapProviderURL, setNotFoundForwardName, setPassword, setPort, setUsername, setUseSslMethods inherited from class FixedForwardPipe
getParameterValueMethods inherited from class AbstractPipe
addForward, addParameter, createBean, findForward, getAdapter, getEventSourceName, getParameterList, getRegisteredForwards, hasRegisteredForward, isRunning, registerEvent, setApplicationContext, setChompCharSize, setDefaultValue, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setIfParam, setIfValue, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setOnlyIfSessionKey, setOnlyIfValue, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setSkipOnEmptyInput, setStoreResultInSessionKey, setUnlessSessionKey, setUnlessValue, setWriteToSecLog, sizeStatisticsEnabled, skipPipe, start, stop, throwEventMethods inherited from class TransactionAttributes
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeoutMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FrankElement
addConfigWarningMethods inherited from interface HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface HasTransactionAttribute
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttributeMethods inherited from interface IForwardTarget
getNameMethods inherited from interface IPipe
getChompCharSize, getDefaultValue, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getIfParam, getIfValue, getLocker, getLogIntermediaryResults, getMaxThreads, getOnlyIfSessionKey, getOnlyIfValue, getSecLogSessionKeys, getStoreResultInSessionKey, getUnlessSessionKey, getUnlessValue, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isSkipOnEmptyInput, isWriteToSecLog, setPipeLine, throwEvent
-
Constructor Details
-
LdapFindMemberPipe
public LdapFindMemberPipe()
-
-
Method Details
-
doPipeWithException
public PipeRunResult doPipeWithException(Message message, PipeLineSession session) throws PipeRunException - Specified by:
doPipeWithExceptionin 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()
-