i have trouble making authentification to multiple groups in jaas ldap module. i had jaas.conf with ldap module like this
WHZ-Authentication {
com.sun.security.auth.module.LdapLoginModule sufficient
java.naming.security.authentication="simple"
userProvider="ldap://ldap-server.mycompany.com"
authIdentity="cn={USERNAME},OU={GROUP1},OU=user,OU=COMPANY,DC=mycompanyname,DC=com"
useSSL=false
debug=true;
};
and i need to add another group like
cn={USERNAME},OU={GROUP2},OU=user,OU=COMPANY,DC=mycompanyname,DC=com
is there any method to this?? please help