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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]