Ok I modified my web.xml this way:

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


Now when I try this url for example:

http://192.168.108.195:8080/secure/

(* 192.168.108.195 thats my local ip where Shiro is located.)

I am getting this in the cas server:



WHO: tt
WHAT: ST-11-INWnsLlidup4zIKTbV1P-cas01.example.org for
http://192.168.108.195:8080/
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Oct 15 10:32:44 IST 2013
CLIENT IP ADDRESS: 192.168.108.195
SERVER IP ADDRESS: 192.168.2.101

and then I am redirected to here:

http://192.168.108.195:8080/?ticket=ST-9-7usYqhvnsk3fbf5DbeoY-cas01.example.org


And I see that page:


Welcome to The Role Security Home Page

Our web site does have security and it includes security by ROLE, so NOT
everyone who is logged in can visit all our pages.

Please login.

So what's wrong over here? why the process is not taking me to the cas login
form and come back to Shiro authorized ?



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

Reply via email to