Retrieving that information can be very expensive for anything other than
the JPA and In-Memory mechanisms, and in some cases impossible without
actually explicitly storing that information (i.e. Memcached).

Cheers,
Scott

On Wed, Jan 12, 2011 at 8:48 AM, Marvin Addison <[email protected]>wrote:

> > I want to know which users are currently connected to CAS.
> > Is there any way to know?
>
> Query the ticket registry for TGTs, determine the ones that are not
> expired, and get the associated principal name,
> TicketGrantingTicket#getAuthentication()#getPrincipal()#getId().  This
> is functionality you would need to develop, but I can imagine it would
> be very helpful to have this information available on the CAS status
> dashboard.  Anyone else have interest in this?
>
> M
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to