Hi,
I modified my xml according to your comment this way:


 <param-value>

                [main]
                casFilter = org.apache.shiro.cas.CasFilter
                casFilter.failureUrl = /unauthorized.jsp


                casRealm = org.apache.shiro.cas.CasRealm
                casRealm.defaultRoles = user
                casRealm.casServerUrlPrefix = http://192.168.2.101/cas
                casRealm.casService = http://192.168.108.195:8080/shiro-cas

                casSubjectFactory = org.apache.shiro.cas.CasSubjectFactory
                securityManager.subjectFactory = $casSubjectFactory


                roles.loginUrl =
http://192.168.2.101:8080/cas/login?service=http://192.168.108.195:8080/shiro-cas

                roles.unauthorizedUrl = /unauthorized.jsp




                [urls]
                /secure/** =  roles[user]
                                /admin/** =  roles[user]
                /** = anon
              *  / = casFilter*



            </param-value>

Still same behaviour I am directed to the same page I came from with the
ticket in it's url.



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Cant-Integrate-Shiro-with-CAS-tp7579234p7579248.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to