Do you have this in pom.xml:

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

(you should)?

--

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 Thu, Sep 6, 2018 at 2:13 PM Yan Zhou <yanand...@gmail.com> wrote:

> Hello,
>
> This is my external cas.properties,
>
> ## windows
> cas.serviceRegistry.json.location=file:///C:/mydir/cas/services
> cas.serviceRegistry.initFromJson=true
>
> Here is my QuestLocal-10000001.json under  c:/mydir/cas/services, But I am
> not loading any service definition.  See below for logs.
>
> {
>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>   "serviceId" : "^https?://.*",
>   "name" : "QuestLocal",
>   "id" : 10000001,
>   "description" : "This service definition",
>   "evaluationOrder" : 10000,
>   "attributeReleasePolicy" : {
>     "@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
>    },
>   "properties" : {
>     "@class" : "java.util.HashMap",
>     "jwtAsServiceTicket" : {
>       "@class" :
> "org.apereo.cas.services.DefaultRegisteredServiceProperty",
>       "values" : [ "java.util.HashSet", [ "true" ] ]
>     }
>   }
> }
>
> What am I missing?
>
> Thx!
> Yan
>
> 2018-09-06 13:47:47,711 WARN
> [org.apereo.cas.config.CasCoreServicesConfiguration] - <Runtime memory is
> used as the persistence storage for retrieving and persis
> ting service definitions. Changes that are made to service definitions
> during runtime WILL be LOST when the web server is restarted. Ideally for
> production, you
>  need to choose a storage option (JDBC, etc) to store and track service
> definitions.>
> 2018-09-06 13:47:47,711 DEBUG
> [org.apereo.cas.services.DefaultServiceRegistryExecutionPlan] -
> <Registering service registry [InMemoryServiceRegistry] into the e
> xecution plan>
> 2018-09-06 13:47:47,710 DEBUG
> [org.apereo.cas.services.AbstractServicesManager] - <Registering service
> registry [InMemoryServiceRegistry] into the execution pla
> norg.apereo.cas.services.ChainingServiceRegistry@e311f93]>
> 2018-09-06 13:47:47,713 INFO
> [org.apereo.cas.services.AbstractServicesManager] - <Loaded [0] service(s)
> from [InMemoryServiceRegistry].>
> 2018-09-06 13:48:47,715 DEBUG
> [org.apereo.cas.services.AbstractServicesManager] - <Loading services from
> [org.apereo.cas.services.ChainingServiceRegistry@e311f9
> 3]>
>
> --
> - 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/905510e3-9497-4029-8df2-e025291026d7%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/905510e3-9497-4029-8df2-e025291026d7%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 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%2Bd9XAOD5TmvHP_vx63ZG%3Dd-4HHfVO1_YgPN1X8c05epD2Zsfw%40mail.gmail.com.

Reply via email to