thanks
that's great, and we may use it for a 3,1 server. Now we are in 3,0,18, 
so I'll look at openldap

Sam wrote:
>> I'm also interested in LDAP authentification, our new customer is a big 
>> organization, and they want our application to use LDAP services for 
>> authentification. I must say that I know very few about this.
>>
>> I could not find any class in resin's doc about LDAP
> 
> Resin includes a class com.caucho.server.security.LdapAuthenticator
> An example usage is below:
> 
>      <authenticator>
>         <type>com.caucho.server.security.LdapAuthenticator</type>
>         <init>
>           <jndi-env java.naming.provider.url="ldap://localhost:389"/>
> 
>           <dn-suffix>dc=example,dc=com</dn-suffix>
>           <user-attribute>uid</user-attribute> <!-- default is "uid" -->
>           <password-attribute>userPassword</password-attribute> <!-- default 
> is "userPassword" -->
> 
>           <password-digest>none</password-digest>
>         </init>
>       </authenticator>
> 
> The current (3.1.0) implementation does not obtain roles, it returns true for
> any isUserInRole request if the user has successfully been authenticated.
> 
> Logging at the "fine" level is useful while setting it up, and the source code
> is fairly simple and worth taking a look at.
> 
> -- Sam
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 

-- 
Très cordialement,

Riccardo Cohen
ligne directe : 02-47-49-63-24
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to