CAS Management api/sessions endpoint incomplete

42 views
Skip to first unread message

Frédéric Lohier

unread,
Dec 2, 2020, 9:12:44 AM12/2/20
to CAS Community
Hello, 

I am currently testing CAS Management 6.2.2 with CAS Server 6.2.5.
The CAS Management /dashboard/sessions does not work properly, all the columns are empty.

I looked at the CAS Management source code and I saw that CAS Management dahsboard/sessions is using an internal API /api/sessions that is calling the CAS Server actuator/ssoSessions?type=ALL.
The actuator/ssoSessions?type=ALL endpoint of my CAS Server works properly, I can see all the data about active sessions in json format.
But if I call the cas-management/api/sessions endpoint, I get an incomplete response with most attributes set to null like below : 

{

  "activeSsoSessions": [

    {

      "authenticatedPrincipal": null,

      "authenticatedServices": null,

      "authenticationAttributes": null,

      "authenticationDate": null,

      "proxied": null,

      "numberOfUses": null,

      "principalAttributes": null,

      "ticketGrantingTicket": null

    }

  ],

  "totalPrincipals": 1,

  "totalTicketGrantingTickets": 1,

  "totalProxyGrantingTickets": 0,

  "totalTickets": 1,

  "totalUsageCount": 8

}

Is this a bug?


-Frederic

Reply all
Reply to author
Forward
0 new messages