Hi,

Anyone using soulwing-casclient for cas???

I am trying this client but I come up some problems. I need help

I am using two machines with different hosts for this test.
machine one's host name - edwardcwin.wri.wolfram.com:8080 (desktop machine)
machine two's host name - herb.wri.wolfram.com:8080   (laptop machine)

Both machines I download soulwing-casclient 0.5.3 and I follow the steps from 
http://www.soulwing.org/tomcat-cas.jsp and put them(jar..) into the directory 

Both machines installed Tomcat and SSL certifications. Both machines work with 
the following links and when I click before I modify anything in server.xml

http://edwardcwin.wri.wolfram.com:8080/cas
http://herb.wri.wolfram.com:8080/cas

edwardcwin will be used for cas server
herb will be used for applications hosting

In edwardcwin, here it's what I modify in server.xml from C:\Program 
Files\Apache Software Foundation\Tomcat 5.5\conf
  ........
<GlobalNamingResources>

    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />

       <Resource name="CasProtocolConfiguration" auth="Container"
      type="org.soulwing.cas.client.ProtocolConfigurationImpl"
      factory="org.soulwing.cas.client.ProtocolConfigurationFactory"
      description="CAS protocol configuration"
      serverUrl="http://edwardcwin.wri.wolfram.com:8080/cas"; 
      serviceUrl="https://herb.wri.wolfram.com:8443"; />

  </GlobalNamingResources>
.......

After I insert above into server.xml, 
http://edwardcwin.wri.wolfram.com:8080/cas still works
I don't insert any <Valve...> into edwardcwin's server.xml

In herb, here it's what I modify in server.xml from C:\Program Files\Apache 
Software Foundation\Tomcat 5.5\conf
I insert the following part into server.xml
.....
      </Host>

        <Valve className="org.soulwing.cas.apps.tomcat.ResourceValve"
  config="CasProtocolConfiguration"
  
authenticatorClass="org.soulwing.cas.apps.tomcat.ServiceValidationAuthenticator"
 />

    </Engine>

  </Service>
.....

I don't insert any <Resource name.../> into herb's server.xml

After I insert above part, I even cannot open http://herb.wri.wolfram.com:8080/

Can you tell what's wrong with it? Anything setup problem?

Also, How can I test this setup?

For installing soulwing client, do you mean I can open applications hosted by 
herb without login to CAS. For example,

http://herb.wri.wolfram.com:8080/application1
http://herb.wri.wolfram.com:8080/application2
.....

After I login http://edwardcwin.wri.wolfram.com:8080/cas


Please help.

Edward

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to