Boy, you guys just thought of everything, huh?
Looking through the LdapExtLoginModule code (to place a hack), I found the
defaultRole option. Unfortunately, this option wasn't covered in the Wiki.
Okay, so that fixes my main problem of my thousands of users who have the
default primary group
I haven't tested myself, but check this out:
http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule. Last example
provided there shows Active Directory support, you must implement this in the
login-config.xml for the security domain of you application.
Greetings,
Eric
View the original
Show some ldif for the case in question so that one can understand what the AD
schema in use is.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887467#3887467
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887467
i found the solution - the following is my configuration :
Properties props = new Properties();
props.setProperty(Context.SECURITY_PRINCIPAL, user.getUserName()+@domain);
props.setProperty(Context.SECURITY_CREDENTIALS,user.getPassword());
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,
Hi,
It will be great if you can share your experience or give some input.
Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880506#3880506
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880506