Hi Guys,
 
I'm trying to implement Single Sign On for my two web apps.

Following the documentation, I uncommented 
<Valve className="org.apache.catalina.authenticator.SingleSignOn" debug="2"/>
I also made sure that both web-apps are using the same JDBC Realm nested inside 
the <Engine>

Still its prompting for login when I try to access one web app from the other.

Any help is appreciated.

with kind regards,
Skely

My Server.xml file is:
<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>


                
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

Reply via email to