Maybe LdapLoginModule.createInitialLdapContext() could be refactored e.g. by splitting role queries to a separate overridable method. This way you wouldn't have to cut-and-paste so much working code from ...auth.spi to adapt to the different flavors and extended schemas of AD or other LDAP providers...
This simple example helped me out a lot in querying user roles from AD. Quite simple after you have the right LDAP query. I did end up writing my own LoginModule, though... http://forum.java.sun.com/thread.jspa?threadID=581444 //markku View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863505#3863505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863505 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
