[jboss-jira] [JBoss JIRA] Updated: (JBAS-3773) Empty baseCtxDN and rolesCtxDN adds a comma to the userDn and user roles

Eric van Lydegraf (JIRA) jira-events at jboss.com
Tue Oct 17 21:38:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3773?page=all ]

Eric van Lydegraf updated JBAS-3773:
------------------------------------

    Attachment: LdapExtLoginModule.patch

Patch to LdapExtLoginModule version 4.0.5.CR1
that does not append ',' and ctxDn values for user or role if they are empty strings

> Empty baseCtxDN and rolesCtxDN adds a comma to the userDn and user roles
> ------------------------------------------------------------------------
>
>                 Key: JBAS-3773
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3773
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>    Affects Versions: JBossAS-4.0.5.CR1
>            Reporter: Eric van Lydegraf
>         Assigned To: Scott M Stark
>         Attachments: LdapExtLoginModule.patch
>
>
> The LDAP server (Lotus Domino) has users organized along different CtxDN contexts, so for JNDI empty contexts are used and the filter sorts out the users and groups.
> When Using LoginExtLoginModule, a sucessful retrieval of a User, has a full userDN but the code will append a comma expecting BaseCtxDN used in the search.
> The same is true for group membership.
> The solution I came up with is if the context is empty, no Ctx is appended and only the search result is preserved.

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

        



More information about the jboss-jira mailing list