@Deprecated @ConfigurationWarning(value="please use LdapSender with operation challenge and check for returned message <LdapResult>Success</LdapResult>") public class LdapChallengePipe extends FixedForwardPipe
name | type | remarks |
---|---|---|
ldapProviderURL | URL to the LDAP server. Example: ldap://su05b9.itc.intranet | Required only if attribute ldapProviderURL is not set |
principal | The LDAP DN for the username. Example: UID=SRP,OU=DI-IUF-EP,OU=SERVICES,O=ING | Required and must be filled |
credentials | The LDAP password. Example: welkom01 | Required 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 |
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
LdapChallengePipe()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Deprecated.
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message msg,
PipeLineSession pls)
Deprecated.
Checks to see if the supplied parameteres of the pipe can login to LDAP
|
String |
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 errors
|
void |
setInitialContextFactoryName(String value)
Deprecated.
class to use as initial context factory
|
void |
setLdapProviderURL(String string)
Deprecated.
url to the ldap server.
|
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, 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
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 FixedForwardPipe
ConfigurationException
public PipeRunResult doPipe(Message msg, PipeLineSession pls) throws PipeRunException
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
IPipe.doPipe(Message, PipeLineSession)
protected void handleError(LdapSender ldapSender, PipeLineSession session, int code, String message)
public void setLdapProviderURL(String string)
public String getLdapProviderURL()
public void setInitialContextFactoryName(String value)
public String getInitialContextFactoryName()
public void setErrorSessionKey(String string)
public String getErrorSessionKey()
Copyright © 2023 Frank!Framework. All rights reserved.