cas client 3.1.1 and simple WebApp sample

Laura QCaballero shaory1985 at hotmail.com
Wed Oct 15 13:17:09 EDT 2008


Thank you Scott for your quick answer.
The web.xml of my application is the following:

(...)mywebapp

	

	

		

		Simple sample, how to use CAS Java Client 3.x.

		In this sample exists a public area (/)

		and a private area (/protected/*). 

		

	



	

		CAS Authentication Filter

		org.jasig.cas.client.authentication.AuthenticationFilter

		

			casServerLoginUrl

			https://111.111.111.2/cas/login

		

		

			serverName

			https://111.111.111.3:8443

		

		

			renew

			false

		

		

			gateway

			false

		

	

	

	

		CAS Validation Filter

		org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter

		

			casServerUrlPrefix

			https://111.111.111.2/cas/

		

		

			serverName

			https://111.111.111.3:8443

		

		

			proxyCallbackUrl

			https://111.111.111.3:8443/mywebapp/proxyCallback

		

		

			proxyReceptorUrl

			/mywebapp/proxyCallback

		

	

	

	

		CAS HttpServletRequest Wrapper Filter

		org.jasig.cas.client.util.HttpServletRequestWrapperFilter

	

	

	

		CAS Assertion Thread Local Filter

		org.jasig.cas.client.util.AssertionThreadLocalFilter

	



	

	

		CAS Authentication Filter

		/protected/*

	



	

		CAS Validation Filter

		/*

	

	 

	

		CAS HttpServletRequest Wrapper Filter

		/*

	

	

	

		CAS Assertion Thread Local Filter

		/*

	

	

	

		CAS Validation Filter

		/proxyCallback	

	

	
	

		index.jsp

	

	



The validation URL is set as you said. I'm using IP addresses instead of hostnames, because I'm making it virtually. Could be that the problem?
_________________________________________________________________
¿Sigue el calor? Consulta MSN El tiempo
http://eltiempo.es.msn.com/


More information about the cas mailing list