July 2018
Intermediate to advanced
268 pages
7h 36m
English
There are many ways by which a client/service can register itself to a CAS server. We will be using JSON configuration here and have already included dependencies to our pom.xml file in the earlier step. Apart from JSON, other formats such as YAML, Mongo, LDAP and others do exist.
Create a new folder named clients in the src/main/resources folder. Create a new file in the newly created folder with the following content:
--- !<org.apereo.cas.services.RegexRegisteredService>serviceId: "^(http?|https?)://.*"name: "YAML"id: 5000description: "description"attributeReleasePolicy: !<org.apereo.cas.services.ReturnAllAttributeReleasePolicy> {}accessStrategy: !<org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy> ...Read now
Unlock full access