Hi,

First, you have an error in your configuration, the casServerUrlPrefix
property should never point to /cas/login but to /cas (as it will be
transformed in /cas/serviceValidate to validate the CAS service ticket). You
should have https://192.168.12.114:8443/cas/ for the casServerUrlPrefix
property.

You're right, the http://localhost:8080/uacs.web.test url never redirects
you to CAS server. That's normal !
There is a misunderstanding on how the integration between CAS and Shiro
works.

The casFilter url receives the CAS service ticket after authentication,
validates the service ticket and redirects to the original protected url. It
never redirects to the CAS server, that's the "job" of the roles filter
which is configured to have a loginUrl property pointing to the CAS server
url.

So, you should try to access to /account/** url to see that you are
redirected to CAS server and its login page.

Best,
Jérôme


--
View this message in context: 
http://shiro-developer.582600.n2.nabble.com/A-problem-of-Integrating-Apache-Shiro-with-CAS-SSO-server-tp7502103p7502173.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Reply via email to