To configure client to access CAS Filter

Scott Battaglia scott.battaglia at gmail.com
Wed Sep 27 09:37:16 EDT 2006


Are server and client the name of the actual machines?

On 9/27/06, MMS21 <manishasatija at gmail.com> wrote:
>
>
> Hi,
>   my cas-server and cas client  web xml entries are
> <filter>
>     <filter-name>CAS Filter</filter-name>
>     <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter
> </filter-class>
>     <init-param>
>       <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
>       <param-value>https://server:8443/cas/login</param-value>
>     </init-param>
>     <init-param>
>       <param-name>edu.yale.its.tp.cas.client.filter.validateUrl
> </param-name>
>       <param-value>https://server:8443/cas/proxyValidate</param-value>
>     </init-param>
>     <init-param>
>       <param-name>edu.yale.its.tp.cas.client.filter.serviceUrl
> </param-name>
>       <param-value>http://client:8080/SampleCas/index.jsp</param-value>
>     </init-param>
>   </filter>
>
> <filter-mapping>
>     <filter-name>CAS Filter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>
>
>
> MMS21 wrote:
> >
> > Hi,
> >      I configured CAS on server machine and login into the cas window.
> > Authenticated the user and Log into th CAS successfully. I have given a
> > link a link in a page to call a client progam in another server, and I
> > want the user should be asllowed to access the clint program without
> being
> > authenticated again, of course which a feature of CAS. When I connect to
> > my client program  which is Casified, it gives me Exception as below
> >
> > javax.servlet.ServletException: Connection refused: connect
> >
> > edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(
> CASFilter.java:254)
> >       edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(
> CASFilter.java:184)
> >
> >
> > root cause
> >
> > java.net.ConnectException: Connection refused: connect
> >       java.net.PlainSocketImpl.socketConnect(Native Method)
> >       java.net.PlainSocketImpl.doConnect(Unknown Source)
> >       java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> >       java.net.PlainSocketImpl.connect(Unknown Source)
> >       java.net.Socket.connect(Unknown Source)
> >       java.net.Socket.connect(Unknown Source)
> >       sun.net.NetworkClient.doConnect(Unknown Source)
> >       sun.net.www.http.HttpClient.openServer(Unknown Source)
> >       sun.net.www.http.HttpClient.openServer(Unknown Source)
> >       sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
> >       sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
> >
> >
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient
> (Unknown
> > Source)
> >       sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
> >
> > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
> (Unknown
> > Source)
> >       sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> > Source)
> >       sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream
> (Unknown
> > Source)
> >       edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:70)
> >
> > edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(
> ServiceTicketValidator.java:212)
> >
> > edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(
> CASFilter.java:219)
> >       edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(
> CASFilter.java:184)
> >
> >
> > note The full stack trace of the root cause is available in the Apache
> > Tomcat/5.5.4 logs.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/To-configure-client-to-access-CAS-Filter-tf2343392.html#a6526688
> Sent from the CAS Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060927/b1794dd8/attachment.html


More information about the cas mailing list