Thats how my http://localhost:8080/shir-cas/index.jsp looks like:

user/index

logout </app/logout>  <br />
<br />
<%@page import="org.apache.shiro.subject.Subject"%>
<%@page import="org.apache.shiro.SecurityUtils"%>
<%
    Subject subject = SecurityUtils.getSubject();
%>
principal : <%=subject.getPrincipal()%><br />
principals : <%=subject.getPrincipals()%><br />
isAuthenticated : <%=subject.isAuthenticated()%><br />
isRemembered : <%=subject.isRemembered()%><br />


and before navigating to
http://192.168.108.195:8080/shiro-cas/secure/index.jsp the content look like
this:

user/index

logout

principal : null
principals : null
isAuthenticated : false
isRemembered : false


and after authenticaste at CAS  i am redirected to the same url and still
the content remains the same. just the browser url has this:
http://192.168.108.195:8080/shiro-cas/?ticket=ST-124-eI1T7sKZQpllSHrwMMpy-cas01.example.org

thanks. 



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

Reply via email to