Class LdapChallengePipe

All Implemented Interfaces:
HasTransactionAttribute, IConfigurable, IConfigurationAware, IForwardTarget, INamedObject, IPipe, IScopeProvider, IWithParameters, EventThrowing, HasStatistics, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Deprecated(forRemoval=true, since="7.6.0") @ConfigurationWarning("please use LdapSender with operation challenge and check for returned message <LdapResult>Success</LdapResult>") public class LdapChallengePipe extends FixedForwardPipe
Deprecated, for removal: This API element is subject to removal in a future version.
Pipe to check if a username and password are valid in LDAP.

Parameters:

nametyperemarks
ldapProviderURLURL to the LDAP server.
Example: ldap://su05b9.itc.intranet
Required only if attribute ldapProviderURL is not set
principalThe LDAP DN for the username.
Example: UID=SRP,OU=DI-IUF-EP,OU=SERVICES,O=ING
Required and must be filled
credentialsThe LDAP password.
Example: welkom01
Required and must be filled

Exits:

stateconditionremarks
successSuccessful login to LDAPshould be defined in configuration
invalidUnsuccessful login to LDAPshould be defined in configuration

Author:
Milan Tomc
  • Constructor Details

    • LdapChallengePipe

      public LdapChallengePipe()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • configure

      public void configure() throws ConfigurationException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: FixedForwardPipe
      checks for correct configuration of forward
      Specified by:
      configure in interface IConfigurable
      Specified by:
      configure in interface IPipe
      Overrides:
      configure in class FixedForwardPipe
      Throws:
      ConfigurationException
    • doPipe

      public PipeRunResult doPipe(Message msg, PipeLineSession pls) throws PipeRunException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Checks to see if the supplied parameteres of the pipe can login to LDAP
      Throws:
      PipeRunException
      See Also:
    • handleError

      protected void handleError(LdapSender ldapSender, PipeLineSession session, int code, String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLdapProviderURL

      public void setLdapProviderURL(String string)
      Deprecated, for removal: This API element is subject to removal in a future version.
      url to the ldap server.
      example: ldap://su05b9.itc.intranet
    • getLdapProviderURL

      public String getLdapProviderURL()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setInitialContextFactoryName

      public void setInitialContextFactoryName(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      class to use as initial context factory
      Default value
      com.sun.jndi.ldap.ldapctxfactory
    • getInitialContextFactoryName

      public String getInitialContextFactoryName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setErrorSessionKey

      public void setErrorSessionKey(String string)
      Deprecated, for removal: This API element is subject to removal in a future version.
      key of session variable used to store cause of errors
    • getErrorSessionKey

      public String getErrorSessionKey()
      Deprecated, for removal: This API element is subject to removal in a future version.