Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2084

LDAP user filter throws an exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 1.1
    • None
    • Security
    • None
    • 1. Windows XP SP2

      2. java version "1.6.0_04"
         Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
         Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

    Description

      After configured Continuum to use LDAP as authenticator, it returned a 1000 users, which is ok, but I would like to reduce the users using a filter as described in http://redback.codehaus.org/integration/ldap.html. But every time I add the user-filter tag it gives me an error. Is there any particular format should I type? I used something like this to filter

      <component>
      <role>org.codehaus.plexus.redback.common.ldap.UserMapper</role>
      <role-hint>ldap</role-hint>
      <implementation>org.codehaus.plexus.redback.common.ldap.LdapUserMapper </implementation>
      <description></description>
      <configuration>
      <email-attribute>email</email-attribute>
      <full-name-attribute>givenName</full-name-attribute>
      <password-attribute>userPassword</password-attribute>
      <user-id-attribute>cn</user-id-attribute>
      <user-base-dn></user-base-dn>
      <user-object-class>inetOrgPerson</user-object-class>
      <user-filter>(&|(attributeName=value1)(attributeName=value2))</user-filter>
      </configuration>
      </component>

      Attachments

        1. continuum.log
          38 kB
          Tonatiuh

        Activity

          People

            wsmoak Wendy Smoak
            tonatiuh Tonatiuh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: