Hello, Check your cas.properties file, it must contains:
cas.serviceRegistry.initFromJson=true cas.service-registry.json.location=file:/etc/cas/services You can have a look at this: https://github.com/crpeck/cas-overlay-docker it maybe might help you. -*φol d.*- *Communications without intelligence is noise;* * Intelligence without communications is irrelevant.** [Alfred M. Gray]* On Tue, Nov 5, 2019 at 3:26 PM ratm <[email protected]> wrote: > Hello, > > I'm trying to configure jenkins to use cas 6.1 for authentification with : > > https://apereo.github.io/cas/6.1.x/services/Service-Management.html > https://apereo.github.io/cas/6.1.x/services/JSON-Service-Management.html > > Under cas-overlay-template-6.1/etc/cas/services/ > > i have created jenkins-1.json file : > > { > /* > Service jenkins > */ > "@class" : "org.apereo.cas.services.RegexRegisteredService", > "serviceId" : "http://my-test-jenkins1.fr:8080/", > "name" : "Jenkins", > "id" : 1, > } > > > First the command : > > ./gradlew copyCasConfiguration > > doesn't copy cas-overlay-template-6.1/etc/cas/services/jenkins-1.json > under /etc/cas/services > > But even if i manually copy > cas-overlay-template-6.1/etc/cas/services/jenkins-1.json under > /etc/cas/services when i run cas i have in log : > <Loaded [0] service(s) from [InMemoryServiceRegistry].> > > > What's wrong ? > > Thanks in advance for any help ! > > Best Regards, > > -- > - 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/91d60102-c091-4668-a32c-0cb559f6cdc7%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/91d60102-c091-4668-a32c-0cb559f6cdc7%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/CAAqYw%2BnPJp4gVT%2BPMJVTNnqwVsWM5J%2BoR%3DvghcxV%2BG5MZ5%3D7bw%40mail.gmail.com.
