tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skely Vengaboy <tecksk...@yahoo.com>
Subject Single Sign On not working (Tomcat 5.5.7)
Date Fri, 01 Apr 2005 03:19:07 GMT
Guys,

Please help me... 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>

I'm using two simple struts web-apps named "brown-sso" and "blue-sso".

kind regards,
Skely

		
---------------------------------
Yahoo! Messenger
 Show us what our next emoticon should look like. Join the fun.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message