Hi,
Ok I tried your solution this time moved back to deploy under ../shiro-cas/
Same result as before. back to the original page with ticket from cas.
configuration:
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
<init-param>
<param-name>config</param-name>
<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]
/shir-cas = casFilter
/secure/** = roles[user]
/admin/** = roles[admin]
/** = anon
</param-value>
</init-param>
</filter>
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Cant-Integrate-Shiro-with-CAS-tp7579234p7579255.html
Sent from the Shiro User mailing list archive at Nabble.com.