-
1. Re: LDAP sub queries with LdapLoginModule
amishguy Jun 13, 2003 12:41 PM (in response to amishguy)Problem solved. I used BrowseLdapLoginModule.java, and pointed it where I wanted the search to start (i.e. Users level). Works great! :)
-
2. Re: LDAP sub queries with LdapLoginModule
mls3 Jun 16, 2003 2:35 PM (in response to amishguy)Can you elaborate on the BrowseLdapLoginModule? I can not find any documentation on that class.
-
3. Re: LDAP sub queries with LdapLoginModule
amishguy Jun 17, 2003 6:37 PM (in response to amishguy)Sure thing! Here's the source code (NOT mine):
http://www.boxerboxes.ca/JBoss_Ldap.html
Basically I just (note, this is for Win32):
1) Downloaded the JBoss 3.2.1 source code
2) Dropped BrowseLdapLoginModule.java into <jboss_src_dir>/security/src/security/src/main/org/jboss/security/auth/spi/
3) Ran <jboss_src_dir>/security/build.bat
4) Copied <jboss_src_dir>/security/output/lib/jbosssx.jar
into $JBOSS_HOME/server/default/lib/ and $JBOSS_HOME/server/all/lib/
The source code has a snippet of what to put in your login-config.xml file. Once I got stuff compiled and up, it wasn't long before it worked perfectly.
Have fun, and if you need more help - just post :)
A.G.