[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-23 Thread Didier Capdevielle
PS: Many syntax work fine (with = or with :). The problem was not here. > > I'm not sure of that. I beleived that but my Ansible role was not up-to-date. Sorry. Best regards, -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://

[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-22 Thread Didier Capdevielle
Thanks all (and especially David) for your response, Stupid i am. Problem was a right access to the directory (and files). Of course. Making the directory and files accessible by the "tomcat" user (tomcat8 in my case) is the solution (in my case). Thanks, Best regards PS: Many syntax work fine

AW: [cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-21 Thread Josef.Speller
Josef Von: cas-user@apereo.org [mailto:cas-user@apereo.org] Im Auftrag von Didier Capdevielle Gesendet: Mittwoch, 20. September 2017 10:37 An: CAS Community Betreff: [cas-user] Re: Service registry initialisation using JSON files. Help needed Hi all, I use CAS server 5.1.3 on Debian Stretch with

Re: [cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-21 Thread Ray Bon
Didier, In your original email your path starts with D:/entorno/... file:///etc/... is an absolute path on unix like systems. Try: file:///D:/entorno/ide/workspace/sso-cas/dist/etc/cas/services Ray On Thu, 2017-09-21 at 05:56 -0700, Didier Capdevielle wrote: Hi Andy, Thanks for your answer. Un

Re: [cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-21 Thread David Curry
Didier, Is /etc/cas/json a file, or a directory? CAS is expecting it to be a directory, with individual JSON files for each service underneath, like this: / <-- file system root etc/ json/ Apereo-1002.json HTTPSandIMAPS-1001.json Assuming you have added the cas-se

[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-21 Thread Didier Capdevielle
Hi Andy, Thanks for your answer. Unfortunately, that don't work. I yet try any possibilities : file:///etc/cas/json ; file://etc/cas/json ; file:/etc/cas/json ; /etc/cas/json ; ... In 5.0.x (and perhaps in 4.2.x), it worked but i don't remember the thing(s) i did to make this working (and i delet

[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-20 Thread Andy Ng
Hi Didier, Seems like your service registry config location is invalid. In my application.properties I always uses file:/ instead of file:// and it works. Maybe you can tries *cas.serviceRegistry.config.location=file:/etc/cas/json* if not ok, you can also try *cas.serviceRegistry.config.locati

[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-20 Thread Didier Capdevielle
Hi all, I use CAS server 5.1.3 on Debian Stretch with Tomcat8 and Java 1.8 In cas.properties, *cas.serviceRegistry.initFromJson=true* *cas.serviceRegistry.config.location=file://etc/cas/json* In pom.xml, the needed dependency. But don't work (NB: It works if i cas.serviceRedistry.config.location is

[cas-user] Re: Service registry initialisation using JSON files. Help needed

2017-09-19 Thread Rémi Cocula
Adding the dependency worked. Thanks ! Le mercredi 9 août 2017 17:53:24 UTC+2, Rémi Cocula a écrit : > > > Hi, > > Using CAS 5.1 > > I want to populate the service registry using individual JSON files for > each service declaration. > > I added this property in my configuration : > > *cas.se