I have played around some more and am just getting more confused. When I
redirect to CAS with the URL:

https://localhost:8443/tootired.net/cas/login?gateway=true&service=http%3A//localhost%3A8080/springsecurity2/index.jsp%3FreturnFromCas=true

which has the gateway=true parameter. I am returned to a URL like this:

http://localhost:8080/springsecurity2/index.jsp?returnFromCas=true&ticket=ST-15-BfRmYPqwfoZXMQ5iYxcc-cas

1) Am I meant to be sending this ticket back to CAS to get it validated? I
think I should not as I would just be trying to validate an already used
ticket.

2) I assume that rather than using the JSP scriptlet to send the
gateway=true request I should be doing this through one of the CAS clients
(I am using spring-security) which would then put the
SPRING_SECURITY_CONTEXT in the session?

Thanks to anyone who can enlighten me.

-- 
View this message in context: 
http://www.nabble.com/How-to-check-if-I-am-logged-into-CAS-or-not-tp18136646p18158577.html
Sent from the CAS Users mailing list archive at Nabble.com.

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to