> Hello,
> 
> we want to connect to a Global Directory Service via JNDI.
> The Problem is that the authentication-realm is defined in the context.xml
> of the application that authenticates the users. So Tomcat initiate the
> conncetion to the GDS once.
> But the directory has a timeout for this connection of 3 Minutes. 
> Now if a user needs to be authenticated but no connection is available,
> tomcat displays an error message.
> 
> Then tomcat establishes the connection again and with the second try the
> user can be authenticated.
> 
> Is there a possibility to avoid this problem?
> 
> We use tomcat 4.1.29 with IIS 5.0 on Windows 2000 Server
> 
> This is the code of the realm:
> <Realm className="org.apache.catalina.realm.JNDIRealm"
>               connectionURL="ldaps://[internal_server_name]:636" debug="0"
>               roleBase="ou=xx,ou=Groups,o=xx,dc=xx,dc=xx" roleName="xx"
>               roleSearch="(member={0})"
>               userBase="ou=xx,ou=Accounts,o=xx,dc=xx,dc=xx"
> userSearch="(uid={0})"/>
> 
> Thanx in advance
> 
> 
> Mit freundlichen GrĂ¼ssen / Best Regards
> 
> Markus Jakob
> 
> Servicecenter Application (ISA) / Informatik
> 
> ZF Friedrichshafen AG
> 88038 Friedrichafen, Deutschland / Germany
> Telefon/Phone +49 75 41 77-2740, Telefax/Fax +49 75 41 77-902740
> Email: mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> Internet: http://www.zf.com/ <http://www.zf.com/> 
> 

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

Reply via email to