tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47841] New: CombinedRealm fails to switch to other realm
Date Tue, 15 Sep 2009 09:01:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47841

           Summary: CombinedRealm fails to switch to other realm
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: edward.quick@igindex.co.uk


Created an attachment (id=24266)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24266)
catalina.out - with errors

I have the following configuration in server.xml to enable authentication
against both the ldap servers and user realm. This works perfectly except for
if both the ldap servers are unreachable, Tomcat doesn't fall back to the user
realm. When I start Tomcat up the requests just hang waiting for a connection
timeout. 

    <Engine name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.LockOutRealm">

             <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                       resourceName="UserDatabase"/>

             <Realm className="org.apache.catalina.realm.JNDIRealm"
                       connectionName="${jndi.connectionName}"
                       connectionPassword="${jndi.connectionPassword}"

                       connectionURL="${jndi.connectionURL}"
                       alternateURL="${jndi.alternateURL}"

                       userBase="${jndi.userBase}"
                       userSearch="${jndi.userSearch}"
                       userSubtree="${jndi.userSubtree}"

                       roleBase="${jndi.roleBase}"
                       roleName="${jndi.roleName}"
                       roleSearch="${jndi.roleSearch}"
                       roleSubtree="${jndi.roleSubtree}"

             />


      </Realm>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message