Hi, I have a CAS server with a service json that catches all incoming requests looking like this:
{
"@class": "org.apereo.cas.services.RegexRegisteredService",
"serviceId": "^(https|http)://.*",
"name": "HTTPS and HTTP",
"id": 20000001,
"description": "This service definition authorizes all application urls that support HTTPS and HTTP protocols.",
"attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
},
"evaluationOrder": 201,"accessStrategy" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true,
"requiredAttributes" : {
"@class" : "java.util.HashMap",
"access_app_list" : [ "java.util.HashSet", [ "some-app" ] ]
}
}
}
I would like to do this so I don't have to define a different service json for every app that needs to authenticate against CAS.