Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Component managing the connection to the ldap server
Code Block

<component>

...


    <role>org.codehaus.plexus.redback.common.ldap.connection.LdapConnectionFactory</role>

...


    <role-hint>configurable</role-hint>

...


    <implementation>org.codehaus.plexus.redback.common.ldap.connection.ConfigurableLdapConnectionFactory</implementation>

...


    <configuration>
        <hostname>##HOSTNAME##</hostname>

...


        <port>##PORT##</port>

...


        <baseDn>##BASEDN##</baseDn>

...


        <contextFactory>com.sun.jndi.ldap.LdapCtxFactory</contextFactory>

...


        <bindDn>##BINDDN##</bindDn>

...


        <password>##PASSWORD##</password>

...


    </configuration>

...


    <requirements>
        <requirement>
            <role>org.codehaus.plexus.redback.configuration.UserConfiguration</role>

...


        </requirement>

...


   </requirements>

...


</component>

name

description

example

HOSTNAME

The hostname of the ldap server

ldapserver.mycompany.be

PORT

The port of the ldap server

389

BASEDN

The baseDn of the ldap system

DC=mycompany,DC=be

BINDN

the core user used for authentication the ldap server, must be able to perform the necessary searches, etc.

CN=archiva,OU=User Accounts,DC=mycompany,DC=be

PASSWORD

password for the bindDn for the root ldap connection

xxxxx

...