tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: JNDIRealm autehentication
Date Fri, 19 Aug 2005 13:29:07 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message