Skip to content
This repository has been archived by the owner on Nov 3, 2017. It is now read-only.

Active SSO Sessions Report

dima767 edited this page Nov 10, 2012 · 10 revisions

Since version 1.0.3 of cas-addons, there is an Active SSO Sessions Report available on /sso-sessions HTTP endpoint which returns a JSON representation of a snapshot (at the time of call) of all non-expired server-side TicketGrantingTickets and their associated metadata. It looks like this:

{
  "activeSsoSessions" : [ {
    "tgt_id" : "TGT-1-1YzeuQyTQj5cOjNrLtSetQ3gJpDtdVCbtbQ7rooC45Br0BdicX-cas.example.org",
    "number_of_uses" : 1,
    "authenticated_principal" : "test",
    "authentication_date" : "2012-11-08T18:47:13.925+0000"
  }, {
    "tgt_id" : "TGT-2-X5HC7jheh7TuG4SodWoaAcQ9kVulSVgQ564UchIaht5ssqPKwN-cas.example.org",
    "number_of_uses" : 4,
    "authenticated_principal" : "test2",
    "authentication_date" : "2012-11-08T18:47:30.623+0000"
  }, {
    "tgt_id" : "TGT-3-6cWXqtI0yv0juxDlkHHjjd0nyQsyZbqwtJB5uaTaMtljTwY3Vt-cas.example.org",
    "number_of_uses" : 1,
    "authenticated_principal" : "test5",
    "authentication_date" : "2012-11-08T18:48:04.317+0000"
  } ]
}
Clone this wiki locally