Package nl.nn.adapterframework.ldap
Class LdapChallengePipe
- java.lang.Object
-
- nl.nn.adapterframework.core.TransactionAttributes
-
- nl.nn.adapterframework.pipes.AbstractPipe
-
- nl.nn.adapterframework.pipes.FixedForwardPipe
-
- nl.nn.adapterframework.ldap.LdapChallengePipe
-
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,IExtendedPipe
,IForwardTarget
,INamedObject
,IPipe
,IScopeProvider
,EventThrowing
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Deprecated @ConfigurationWarning("please use LdapSender with operation challenge and check for returned message <LdapResult>Success</LdapResult>") public class LdapChallengePipe extends FixedForwardPipe
Deprecated.Pipe to check if a username and password are valid in LDAP.Parameters:
name type remarks ldapProviderURL URL to the LDAP server.
Example: ldap://su05b9.itc.intranetRequired only if attribute ldapProviderURL is not set principal The LDAP DN for the username.
Example: UID=SRP,OU=DI-IUF-EP,OU=SERVICES,O=INGRequired and must be filled credentials The LDAP password.
Example: welkom01Required and must be filled Exits:
state condition remarks success Successful login to LDAP should be defined in configuration invalid Unsuccessful login to LDAP should be defined in configuration - Author:
- Milan Tomc
-
-
Field Summary
-
Fields inherited from class nl.nn.adapterframework.pipes.AbstractPipe
parameterNamesMustBeUnique
-
Fields inherited from class nl.nn.adapterframework.core.TransactionAttributes
log
-
Fields inherited from interface nl.nn.adapterframework.core.IExtendedPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
-
-
Constructor Summary
Constructors Constructor Description LdapChallengePipe()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
configure()
Deprecated.checks for correct configuration of forwardPipeRunResult
doPipe(Message msg, PipeLineSession pls)
Deprecated.Checks to see if the supplied parameteres of the pipe can login to LDAPString
getErrorSessionKey()
Deprecated.String
getInitialContextFactoryName()
Deprecated.String
getLdapProviderURL()
Deprecated.protected void
handleError(LdapSender ldapSender, PipeLineSession session, int code, String message)
Deprecated.void
setErrorSessionKey(String string)
Deprecated.key of session variable used to store cause of errorsvoid
setInitialContextFactoryName(String value)
Deprecated.class to use as initial context factoryvoid
setLdapProviderURL(String string)
Deprecated.url to the ldap server.-
Methods inherited from class nl.nn.adapterframework.pipes.FixedForwardPipe
getIfParam, getIfValue, getOnlyIfSessionKey, getOnlyIfValue, getParameterValue, getSuccessForward, getUnlessSessionKey, getUnlessValue, isSkipOnEmptyInput, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
-
Methods inherited from class nl.nn.adapterframework.pipes.AbstractPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getApplicationContext, getChompCharSize, getConfigurationClassLoader, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getEventSourceName, getForwards, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getInSizeStatDummyObject, getLocker, getLogIntermediaryResults, getMaxThreads, getName, getOutSizeStatDummyObject, getParameterList, getPipeLine, getSecLogSessionKeys, getStoreResultInSessionKey, hasSizeStatistics, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setEventPublisher, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPipeLine, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
-
Methods inherited from class nl.nn.adapterframework.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 nl.nn.adapterframework.core.IExtendedPipe
throwEvent
-
-
-
-
Method Detail
-
configure
public void configure() throws ConfigurationException
Deprecated.Description copied from class:FixedForwardPipe
checks for correct configuration of forward- Specified by:
configure
in interfaceIConfigurable
- Specified by:
configure
in interfaceIPipe
- Overrides:
configure
in classFixedForwardPipe
- Throws:
ConfigurationException
-
doPipe
public PipeRunResult doPipe(Message msg, PipeLineSession pls) throws PipeRunException
Deprecated.Checks to see if the supplied parameteres of the pipe can login to LDAP- Throws:
PipeRunException
- See Also:
IPipe.doPipe(Message, PipeLineSession)
-
handleError
protected void handleError(LdapSender ldapSender, PipeLineSession session, int code, String message)
Deprecated.
-
setLdapProviderURL
public void setLdapProviderURL(String string)
Deprecated.url to the ldap server.
example: ldap://su05b9.itc.intranet
-
getLdapProviderURL
public String getLdapProviderURL()
Deprecated.
-
setInitialContextFactoryName
public void setInitialContextFactoryName(String value)
Deprecated.class to use as initial context factory- Default value
- com.sun.jndi.ldap.ldapctxfactory
-
getInitialContextFactoryName
public String getInitialContextFactoryName()
Deprecated.
-
setErrorSessionKey
public void setErrorSessionKey(String string)
Deprecated.key of session variable used to store cause of errors
-
getErrorSessionKey
public String getErrorSessionKey()
Deprecated.
-
-