Hi there , I am using cas4.1 as a cas server and java cas client 3.1 ,
https://cas_server:8443/cas41/login?TARGET=http%3A%2F%2Fcas_server%3A9080%2Fclient3%2Fprotected%2Fhome.jsp%3Fticket%3DST-5-eIVcNRQuF2EopDX3mbow-TMSCas <https://lh3.googleusercontent.com/--S9Npw6i_DM/WPnOMAFk2qI/AAAAAAAARqo/OgG-xWoOEgozCkLo54h0r9ofLU8T9CzSQCLcB/s1600/Capture.JPG> Now every thing was working fine when i was using cas2.0 for ticket validation. But since I have turned to SAML , this problem is persisting. checked out another thread referring to same problem , https://groups.google.com/forum/#!topic/jasig-cas-user/4P-q5fNdZAE , but there as well this issue was though discussed , but un-conclusively. Please someone help me with this . web.xml of the client : > <?xml version="1.0" encoding="UTF-8"?> > > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns="http://xmlns.jcp.org/xml/ns/javaee" >> xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee >> http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" >> version="3.1"> > > <display-name>client3</display-name> > > <welcome-file-list> > > <welcome-file>Index.jsp</welcome-file> > > </welcome-file-list> > > <filter> > > <filter-name>CAS Authentication Filter</filter-name> > > <!-- >> <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class> >> >> --> > > >> <filter-class>org.jasig.cas.client.authentication.Saml11AuthenticationFilter</filter-class> > > <init-param> > > <param-name>casServerLoginUrl</param-name> > > <param-value>https://cas_server:8443/cas41/login</param-value> > > </init-param> > > <init-param> > > <param-name>serverName</param-name> > > <param-value>http://cas_server:9080/client3/</param-value> > > </init-param> > > </filter> > > <filter> > > <filter-name>CAS Validation Filter</filter-name> > > <!-- >> <filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class> >> >> --> > > >> <filter-class>org.jasig.cas.client.validation.Saml11TicketValidationFilter</filter-class> > > <init-param> > > <param-name>casServerUrlPrefix</param-name> > > <param-value>https://cas_server:8443/cas41/</param-value> > > </init-param> > > <init-param> > > <param-name>serverName</param-name> > > <param-value>http://cas_server:9080/client3/</param-value> > > </init-param> > > <!-- required only in case of saml start --> > > <init-param> > > <param-name>redirectAfterValidation</param-name> > > <param-value>true</param-value> > > </init-param> > > <!-- required only in case of saml end --> > > >> <init-param> > > <param-name>useSession</param-name> > > <param-value>true</param-value> > > </init-param> > > > > <init-param> > > <param-name>acceptAnyProxy</param-name> > > <param-value>true</param-value> > > </init-param> > > <init-param> > > <param-name>proxyReceptorUrl</param-name> > > <param-value>/client3/proxyUrl</param-value> > > </init-param> > > <init-param> > > <param-name>proxyCallbackUrl</param-name> > > >> <param-value>http://cas_server:9080/client3/proxyUrl</param-value> > > </init-param> > > > > </filter> > > <filter> > > <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name> > > >> <filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class> > > </filter> > > > > <!-- SSO Configuration starts--> > > <!-- <filter> --> > > <!-- <filter-name>CAS Single Sign Out Filter</filter-name> --> > > <!-- >> <filter-class>org.jasig.cas.client.session.SingleSignOutFilter --> > > <!-- </filter-class> --> > > <!-- <init-param> --> > > <!-- <param-name>casServerUrlPrefix</param-name> --> > > <!-- <param-value>https://cas_server:8443/cas41/</param-value> --> > > <!-- </init-param> --> > > <!-- <init-param> --> > > <!-- <param-name>serverName</param-name> --> > > <!-- <param-value>http://cas_server:9080/client3/</param-value> --> > > <!-- </init-param> --> > > <!-- </filter> --> > > > > <!-- <filter-mapping> --> > > <!-- <filter-name>CAS Single Sign Out Filter</filter-name> --> > > <!-- <url-pattern>/*</url-pattern></filter-mapping> --> > > <!-- <listener> --> > > <!-- >> <listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class> >> >> --> > > <!-- </listener> --> > > <!-- SSO Configuration ends --> > > >> >> <!-- <filter-mapping> --> > > <!-- <filter-name>CAS Single Sign Out Filter</filter-name> --> > > <!-- <url-pattern>/*</url-pattern></filter-mapping> --> > > > > <filter-mapping> > > <filter-name>CAS Authentication Filter</filter-name> > > <url-pattern>/protected/*</url-pattern> > > </filter-mapping> > > <filter-mapping> > > <filter-name>CAS Validation Filter</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > <filter-mapping> > > <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > <filter-mapping> > > <filter-name>CAS Assertion Thread Local Filter</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > <filter-mapping> > > <filter-name>CAS Validation Filter</filter-name> > > <url-pattern>/proxyCallback</url-pattern> > > </filter-mapping> > > </web-app> > > Thanks and Regards --Ankur Verma -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/8463aa08-b9af-4e28-9e3f-aa1609a286dc%40apereo.org.
