gateway problem

jmdavid at capella.coop jmdavid at capella.coop
Sun Apr 1 14:26:09 EDT 2007


I  have a problem with gateway mode:
-I first send a request to http://mycasserver:8080/cas/login?gateway=true&service=http%3A%2F%2Flocalhost%2Ftest
-I'm redirected to http://locahost/test *WITHOUT* a ticket, that's fine, I'm not authenticated yet
-I send a new request to CAS without gateway http://mycasserver:8080/cas/login?service=http%3A%2F%2Flocalhost%2Ftest
-I'm redirected to CAS login, I enter username and password and click ok
-I'm redirected to my dummy app *WITH* a ticket  http://locahost/test?ticket=ST...
-I validate the ticket  http://mycasserver:8080/cas/serviceValidate?service=http%3A%2F%2Flocalhost%2Ftest&ticket=ST...
-CAS returns username
 
Then, I want to authenticate for a second application, I have a SSO ticket already, so I expect not having to login again:
 
-I send a request to http://mycasserver:8080/cas/login?gateway=true&service=http%3A%2F%2Flocalhost%2Fother_test
-I'm redirected to  http://locahost/other_test *WITHOUT* a ticket
 
What's the problem?  I'm not supposed to receive a valid ticket if I already connected to CAS?
 
Thank you for any help or clarification.



More information about the cas mailing list