Hi Fredrik,

That sounds a good explanation. So, one reason is that CAS does not want App to get hold of TGT for security reasons.

Why is service ticket valid only once? Is that because CAS administrator can remove a service from the registered service list at any given time and revoke that service participating CAS SSO?

Yan

On 3/10/2016 2:08 PM, Fredrik Jönsson wrote:
"Service ticket", not "session ticket". Sorry.

/Fredrik

--
Fredrik Jönsson, M.Sc.
System Architect
KTH/UF/ITA/Infosys
E-mail: [email protected] <mailto:[email protected]>
Phone: +46 8 790 6603

10 mars 2016 kl. 20:07 skrev Fredrik Jönsson <[email protected] <mailto:[email protected]>>:

Not quite. The TGT is the token which authenticates the user to the CAS server itself, after initial sign in. It is used to get session tickets for individual services with which a user can authenticate to the services. Thus, the TGT does not have to be exposed to any other service than the CAS server (if configured properly) which is a matter of security.

The service registry validates which services are allowed to use the CAS server for ticket validation, but that is only by checking the URL passed as a service parameter, no tickets are involved.

/Fredrik

--
Fredrik Jönsson, M.Sc.
System Architect
KTH/UF/ITA/Infosys
E-mail: [email protected] <mailto:[email protected]>
Phone: +46 8 790 6603

10 mars 2016 kl. 19:41 skrev Ray Bon <[email protected] <mailto:[email protected]>>:

Yan,

There are two parts involved; user authentication, and service registry.
The TGT says user is authenticated.
The ST says this service is allowed to use CAS for user authentication. Every service that wants to use CAS must be registered in the CAS services database.

Ray

On Tue, 2016-03-08 at 06:41 -0800, Yan Zhou wrote:
Hi there,

This is a beginner question, but I cannot seem to find answer anywhere.

Why is there a need for service ticket, it has to be validated every time a service is requested through CAS? If user has a valid TGT, why would CAS server ever deny him trying to access a service?

Thanks,
Yan
--
You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ <https://groups.google.com/a/apereo.org/group/cas-user/>.
--
You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ <https://groups.google.com/a/apereo.org/group/cas-user/>.

--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to