I agree with Ron. As a point of reference, we have 1000 json entries in our service registry. I added 6 this morning.
Very few use any wild cards. We are also working on getting the management app up and running. -Bryan University of Utah On Wed, Jul 1, 2020 at 5:26 AM Emilian Mitocariu < [email protected]> wrote: > 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" ] ]* > * }* > * }* > *}* > > Where *access_app_list* is retrieved from a DB. My question, is there a > built-in variable that I can put instead of *some-app* that contains the > domain of the service accessing CAS? Or do I need to use a groovy script > for this? And if groovy is needed, any pointers on how I could do that? > > 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. > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/fbc184d6-353a-4aaa-887f-acc77e1d4264n%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/fbc184d6-353a-4aaa-887f-acc77e1d4264n%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GVw6gmhrvXMKWNZJPH9rzOrNz4iq09z3mseKAQvXG2Row%40mail.gmail.com.
