public class LdapFindGroupMembershipsPipe extends LdapQueryPipeBase implements ICacheEnabled<String,Set<String>>
<ldap>
<entry name="CN=xxyyzz,OU=Users,DC=domain,DC=ext">
<attributes>
<attribute>
<attribute name="memberOf" value="Extern"/>
<attribute name="departmentCode" value="358000"/>
<attribute name="organizationalHierarchy">
<item value="ou=zzyyxx"/>
<item value="ou=OPS&IT,ou=Group,ou=domain,o=ext"/>
</attribute>
<attribute name="givenName" value="Gerrit"/>
</attributes>
</entry>
<entry> .... </entry>
.....
</ldap>
cf, exceptionForward, notFoundForward
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
LdapFindGroupMembershipsPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
PipeRunResult |
doPipeWithException(Message message,
PipeLineSession session) |
ICache<String,Set<String>> |
getCache() |
boolean |
isRecursiveSearch() |
void |
setCache(ICache<String,Set<String>> cache)
optional
cache definition |
void |
setRecursiveSearch(boolean b)
when
true , the memberOf attribute is also searched in all the found members |
void |
start()
Perform necessary action to start the pipe.
|
void |
stop()
Perform necessary actions to stop the
Pipe .For instance, closing JMS connections, DBMS connections etc. |
doPipe, getBaseDN, getExceptionForwardName, getHost, getLdapProviderURL, getNotFoundForwardName, getPort, isUseSsl, retrieveUrl, setAuthAlias, setBaseDN, setExceptionForwardName, setHost, setLdapProviderURL, setNotFoundForwardName, setPassword, setPort, setUsername, setUserName, setUseSsl
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class LdapQueryPipeBase
ConfigurationException
public void start() throws PipeStartException
IPipe
IPipe.configure()
method, for each start and stop command of the
adapter.start
in interface IPipe
start
in class AbstractPipe
PipeStartException
public void stop()
IPipe
Pipe
.stop
in interface IPipe
stop
in class AbstractPipe
public PipeRunResult doPipeWithException(Message message, PipeLineSession session) throws PipeRunException
doPipeWithException
in class LdapQueryPipeBase
PipeRunException
public void setCache(ICache<String,Set<String>> cache)
ICacheEnabled
cache
definitionsetCache
in interface ICacheEnabled<String,Set<String>>
public ICache<String,Set<String>> getCache()
getCache
in interface ICacheEnabled<String,Set<String>>
public void setRecursiveSearch(boolean b)
true
, the memberOf attribute is also searched in all the found memberspublic boolean isRecursiveSearch()
Copyright © 2023 Frank!Framework. All rights reserved.