Hello,
For reference, in case this helps others in the community, I found out in the source code of the cas-management project (6.2.3 tag) some properties to setup CAS servers in the dashboard.
In the management.properties file, I added the following properties :
mgmt.casServers[0].name=your_cas_server_name
I had to enable the "show-details" of the health actuator to have the dashboard tab working properly. you can enable it in the cas.properties file of your CAS server with the following property :
# display details in the /actuator/health endpoint. BE CAREFUL of the property name, endpoint (without S), not endpoints unlike the other endpoints properties.
management.endpoint.health.show-details=ALWAYS
However, the other tabs of the dashboard are currently not working as intented :
- "Cache" tab : I can click on the cache button, but nothing happens. Maybe this is because I am missing some cache configuration on the CAS server?
- "Resolve Attributes" tab : When I try to resolve a username, I get the list of attributes, but they are not resolved, except for the username. Could it be an authorization issue?
- "Release Attributes" tab : When I try to release attributes for a username/service, it does not work and I get an AUTHENTICATION_FAILED error in the cas_audit.log, even though I can log in to the service with this user.
- "Audit log" tab : the list is empty and when I click on "download", I get an empty file. Maybe some missing configuration to let the CAS-Management know where it should fetch the CAS audit log?
- "SSO Sessions" : After I opened a session, I can see I have one item in the list, but all the columns are empty (username, Created, Uses). Maybe another authorization issue?
- "Loggers" tab : it works but it is very slow to load (maybe ~15 seconds to load a list of 1835 loggers). The spring boot admin app can also list all the loggers without any lag. Is there any plan to remove this loggers tab from the CAS-management webapp or improve its performance?
Any help or pointers are welcome, I am just trying to setup a proof of concept in order to decide if we should switch to CAS or stick with Shibboleth.
Sorry for the long message but I though that at least this info would get indexed on Google and it could be useful for others like who are trying to setup CAS-Management :-).
-Frederic