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

2017-08-10 Thread Bergner, Arnold
I think the ability to use external files for this only came in the last 
Release Candidate:
https://apereo.github.io/2017/08/04/520rc2-release/#minors


Von: cas-user@apereo.org [mailto:cas-user@apereo.org] Im Auftrag von David Curry
Gesendet: Mittwoch, 9. August 2017 18:16
An: cas-user@apereo.org
Betreff: Re: [cas-user] Service registry initialisation using JSON files. Help 
needed

You also have to add


org.apereo.cas
cas-server-support-json-service-registry
${cas.version}


to your pom.xml.

--Dave





--

DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • 
david.cu...@newschool.edu<mailto:david.cu...@newschool.edu>

[Das Bild wurde vom Absender entfernt. The New School]

On Wed, Aug 9, 2017 at 11:53 AM, Rémi Cocula 
<rcoc...@gmail.com<mailto:rcoc...@gmail.com>> wrote:

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<mailto: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<https://groups.google.com/a/apereo.org/d/msgid/cas-user/d95f3bd0-fd74-43c4-b634-7a92b6638ca0%40apereo.org?utm_medium=email_source=footer>.

--
- 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<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANAwcZw%3DkuGEYtNiCzE20Xzy5toXeK6_OgG2C_5fP%2BjcQ%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANAwcZw%3DkuGEYtNiCzE20Xzy5toXeK6_OgG2C_5fP%2BjcQ%40mail.gmail.com?utm_medium=email_source=footer>.

-- 
- 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/8f600ca7e5eb4565b8fd9d82b3de9a48%40hrz.tu-darmstadt.de.


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

2017-08-09 Thread David Curry
You also have to add


org.apereo.cas
cas-server-support-json-service-registry
${cas.version}


to your pom.xml.

--Dave




--

DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • david.cu...@newschool.edu

[image: The New School]

On Wed, Aug 9, 2017 at 11:53 AM, Rémi Cocula  wrote:

>
> 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
> 
> .
>

-- 
- 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/CA%2Bd9XANAwcZw%3DkuGEYtNiCzE20Xzy5toXeK6_OgG2C_5fP%2BjcQ%40mail.gmail.com.


[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.