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:
>
>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]



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:
   
 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.