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: [email protected] [mailto:[email protected]] Im Auftrag von David Curry
Gesendet: Mittwoch, 9. August 2017 18:16
An: [email protected]
Betreff: Re: [cas-user] Service registry initialisation using JSON files. Help 
needed

You also have to add

    <dependency>
        <groupId>org.apereo.cas</groupId>
        <artifactId>cas-server-support-json-service-registry</artifactId>
        <version>${cas.version}</version>
    </dependency>

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 • 
[email protected]<mailto:[email protected]>

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

On Wed, Aug 9, 2017 at 11:53 AM, Rémi Cocula 
<[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]>.
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&utm_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 [email protected]<mailto:[email protected]>.
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&utm_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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8f600ca7e5eb4565b8fd9d82b3de9a48%40hrz.tu-darmstadt.de.

Reply via email to