You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Philippe Laflamme (JIRA)" <ji...@apache.org> on 2010/01/08 06:34:55 UTC

[jira] Updated: (SHIRO-127) Improvements to Shiro's LDAP support

     [ https://issues.apache.org/jira/browse/SHIRO-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philippe Laflamme updated SHIRO-127:
------------------------------------

    Attachment: shiro-127.patch

The attached path improves Shiro's LDAP support.

The patch contains:
* a DefaultLdapRealm class
* modifications to move connection settings to the LdapContextFactory 
* modifications to move querying/schema settings to the DefaultLdapRealm
* modifications to the ActiveDirectoryRealm to keep previous functionalities

The new realm supports extracting groups from the directory in a simplistic way. The groups are returned as user roles.

I've created an example use of the realm. It is available here: http://svn.obiba.org/sandbox/plaflamm/shiro-ldap

To use:
svn co http://svn.obiba.org/sandbox/plaflamm/shiro-ldap
cd shiro-ldap
mvn test

> Improvements to Shiro's LDAP support
> ------------------------------------
>
>                 Key: SHIRO-127
>                 URL: https://issues.apache.org/jira/browse/SHIRO-127
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Realms 
>            Reporter: Philippe Laflamme
>         Attachments: shiro-127.patch
>
>
> Following this mailing list discussion: http://n2.nabble.com/Confusion-with-the-LDAP-Realm-tp4268254p4268254.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.