Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat 5.x Single Sign On not working

Status
Not open for further replies.

skely

MIS
Mar 31, 2005
1
US
I'm really struggling with implemting SSO for my 2 webapps... I've done all that is said in the documentation pages of tomcat. For some reason, tomcat is not linking the 2 web-apps with SSO.
When I try to reach from one web-app to the other, its repeatedly showing the login screen.
Please help...
This is my server.xml file...

<Server port="8005" shutdown="SHUTDOWN">

<Service name="Catalina">
<Connector port="8080" />

<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="root" connectionPassword="password"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />

<Host name="localhost" appBase="webapps" >
<Valve className="org.apache.catalina.authenticator.SingleSignOn" debug="2"/>

<Context displayName="Brown-SSO Application" docBase="brown-sso" path="/brown-sso" workDir="work\Catalina\localhost\brown-sso">
</Context>
<Context displayName="Blue-SSO Application" docBase="blue-sso" path="/blue-sso" workDir="work\Catalina\localhost\blue-sso">
</Context>
</Host>
</Engine>

</Service>
</Server>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top