[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.serviceRegistry.initFromJson=true*Hence, any file* myapp-123.json* 
> will be scanned to register a service but it only works if such a file 
> reside in a services directory inside the java classpath. 
>
> I would like to externalize these files to a desired local directory. 
>
> I tried to set that in my configuration : 
>
>
> *cas.serviceRegistry.config.location=file://D:/entorno/ide/workspace/sso-cas/dist/etc/cas/services*But
>  
> the D:/entorno/ide/workspace/sso-cas/dist/etc/cas/services does not seam to 
> be scanned.
>
>
>
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/37f47164-0a66-4b53-90be-5ebf96651100%40apereo.org.


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

2017-08-09 Thread Rémi Cocula

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.serviceRegistry.initFromJson=true*Hence, any file* myapp-123.json* 
will be scanned to register a service but it only works if such a file 
reside in a services directory inside the java classpath. 

I would like to externalize these files to a desired local directory. 

I tried to set that in my configuration : 

*cas.serviceRegistry.config.location=file://D:/entorno/ide/workspace/sso-cas/dist/etc/cas/services*But
 
the D:/entorno/ide/workspace/sso-cas/dist/etc/cas/services does not seam to 
be scanned.



-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d95f3bd0-fd74-43c4-b634-7a92b6638ca0%40apereo.org.