Services Management Webapp
The services management webapp is no longer part of the CAS server and
is a standalone web application: cas-management-webapp
.
- The management webapp is used to add/edit/delete all the CAS services
- The CAS server loads/relies on all these defined CAS services to process all incoming requests.
You MUST keep in mind that both applications (the CAS server and the services management webapp) share the same configuration for the CAS services.
A sample Maven overlay for the services management webapp is provided here: [https://github.com/Jasig/cas-services-management-overlay] (https://github.com/Jasig/cas-services-management-overlay)
Services Registry
You also need to define the common services registry by overriding the WEB-INF/managementConfigContext.xml
file and set the appropriate serviceRegistryDao
. The persistence storage MUST be the same.
It should be the same configuration you already use in your CAS server in the WEB-INF/deployerConfigContext.xml
file.
Authentication method
By default, the cas-management-webapp
is configured to authenticate against a CAS server. We assume that it’s the case in this documentation. However, you could change the authentication method by overriding the WEB-INF/spring-configuration/securityContext.xml
file.
Securing Access and Authorization
Access to the management webapp is controlled via Spring Security. Rules are defined in the WEB-INF/managementConfigContext.xml
file.
Static List of Users
By default, access is limited to a static list of users whose credentials may be specified in a user-details.properties
file that should be available on the runtime classpath.
You can change the location of this file, by uncommenting the following key in your cas-management.properties
file:
The format of the file should be as such:
LDAP-managed List of Users
If you wish allow access to the services management application via an LDAP group/server, open up the WEB-INF/managementConfigContext
file of the management web application and adjust for the following:
You will also need to ensure that the spring-security-ldap
dependency
is available to your build at runtime:
Urls Configuration
The urls configuration of the CAS server and management applications can be done
by overriding the default WEB-INF/cas-management.properties
file:
When authenticating against a CAS server, the services management webapp will be processed as a regular CAS service and thus, needs to be defined in the services registry of the CAS server.