You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Julien HENRY (JIRA)" <ji...@codehaus.org> on 2009/03/03 17:33:12 UTC

[jira] Commented: (CONTINUUM-2084) LDAP user filter throws an exception

    [ http://jira.codehaus.org/browse/CONTINUUM-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167743#action_167743 ] 

Julien HENRY commented on CONTINUUM-2084:
-----------------------------------------

You should try with:

<user-filter>(|(attributeName=value1)(attributeName=value2))</user-filter>

The "&|" is invalid.

> LDAP user filter throws an exception
> ------------------------------------
>
>                 Key: CONTINUUM-2084
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2084
>             Project: Continuum
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 1.1
>         Environment: 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)
>            Reporter: Tonatiuh
>            Priority: Minor
>         Attachments: continuum.log
>
>
> 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>(&amp;|(attributeName=value1)(attributeName=value2))</user-filter>
>       </configuration>
>     </component>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira