JNDIRealm autehentication

2005-08-19 Thread Rogerio Baldini das Neves
Hi Folks,

Is it possible to authenticate in multiples userBase´s using JNDIRealm ?

I have a configuration as above:
   
 Realm   className=org.apache.catalina.realm.JNDIRealm debug=99
 connectionURL=ldap://localhost:389;
  userBase=ou=people,dc=mycompany,dc=com
userSearch=(mail={0})
  userRoleName=memberOf
  roleBase=ou=groups,dc=mycompany,dc=com
  roleName=cn
roleSearch=(uniqueMember={0})
/

and I need to provide 2 userBase´s
  userBase=ou=people,dc=mycompany,dc=com
and 
   userBase=ou=people2,dc=mycompany,dc=com

is it posssible ?

I don´t want to search in my uppper level, because it´s really big.

Thanks in advance,

Rogerio.




Re: JNDIRealm autehentication

2005-08-19 Thread David Delbecq
No, but code of JNDIRealm can be easily reused to create your own realm.
Le Vendredi 19 Août 2005 15:26, Rogerio Baldini das Neves a écrit :
 Hi Folks,
 
 Is it possible to authenticate in multiples userBase´s using JNDIRealm ?
 
 I have a configuration as above:

  Realm   className=org.apache.catalina.realm.JNDIRealm debug=99
  connectionURL=ldap://localhost:389;
   userBase=ou=people,dc=mycompany,dc=com
 userSearch=(mail={0})
   userRoleName=memberOf
   roleBase=ou=groups,dc=mycompany,dc=com
   roleName=cn
 roleSearch=(uniqueMember={0})
 /
 
 and I need to provide 2 userBase´s
   userBase=ou=people,dc=mycompany,dc=com
 and 
userBase=ou=people2,dc=mycompany,dc=com
 
 is it posssible ?
 
 I don´t want to search in my uppper level, because it´s really big.
 
 Thanks in advance,
 
 Rogerio.
 
 
 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]