Hi,

I'm running* cas v5.1.x* and I'd registered a test JSON service in the file 
`/etc/cas/config/services/HTTPSandIMAPS-10001.json` and setup the entry in 
the `cas.properties` file like this:
...
cas.serviceRegistry.config.location=file:/etc/cas/config/services
...



Here is the file content:
{
  /*
    Generic service definition that applies to https/imaps urls
    that wish to register with CAS for authentication.
  */
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps)://.*",
  "name" : "HTTPSandIMAPS",
  "description" : "This ia a test registered service for everything.",
  "logo" : 
"https://d1e4pidl3fu268.cloudfront.net/66963e4a-ccba-4fdd-ba18-d5862fb4dba7/test.png";
,
  "id" : 10001,
}

And the log showed it's been loaded like in here:

...

2018-01-10 16:09:49,858 DEBUG [org.apereo.cas.services.
DefaultServicesManager] - <Loading services from [JsonServiceRegistryDao]>
2018-01-10 16:09:49,860 DEBUG [org.apereo.cas.services.
DefaultServicesManager] - <Adding registered service [^(https|imaps)://.*]>
2018-01-10 16:09:49,860 INFO [org.apereo.cas.services.DefaultServicesManager
] - <Loaded [1] service(s) from [JsonServiceRegistryDao].>

...


What should I do to get the service details (meta data and logo) being 
displayed in the login page !??

Regards,




-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d701382-dbd6-431d-862f-6adc411ac1a9%40apereo.org.

Reply via email to