Fredrik Jönsson
unread,Mar 11, 2016, 9:44:27 AM3/11/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Zhou, Yan, Ray Bon, cas-...@apereo.org
I did not design the protocol, but to my understanding, the protocol is designed to work in a reasonably secure manner over insecure connections. The ticket is exposed as a URL parameter, possibly in clear text, over the network and most likely stored in logs on the server. Making it valid only once and with a very limited time span are remedies for replay attacks.
CAS makes no assumptions on how the client and server communicates, it does authentication, and authentication only. If the server and client wants to establish a session (e.g., with a session cookie) before or after authentication, that, and how, is entirely up to the application.
This is also another reason the TGT and ST are separate. The TGT can be replayed and requests using it must be made over a secure channel for security reasons, and CAS typically requires it. STs are designed so that it’s not a requirement for other services to use secure channels (though I’d still recommend it if possible).
/Fredrik