I think we have set the service registry location

cas.serviceRegistry.config.location=classpath:/services

point this property to an external source location and check

Thanks
Seshu


On 31 May 2017 at 07:41, Doan Moon <[email protected]> wrote:
> Hi All !
>
> I'm building CAS Sever (5.0.5) and CAS management webapp (5.0.5) on the same
> machine.
>
> Cas server is : https://localhost:8443/cas => Done ( Like Login, Logout,
> user login with File Authen + LDAP Authen
> Cas management is : https://localhost:8443/cas-management => Done ( Login
> with acc in user-details.properties)
> Cas Client : http://localhost:7777 => Done
>
> I have a question => How to Synchronized Configuration Service Registry
> between CAS server and the services management webapp ?
>
> If i add one file service json to Cas server (5.0.5) :
> \cas\WEB-INF\classes\services
> {
>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>   "serviceId" : "^https?://.*",
>   "name" : "HTTP",
>   "id" : 10000003,
>   "description" : "This service definition authorizes all application urls
> that support HTTP protocols.",
>   "evaluationOrder" : 2
> }
>
> => Then Cas client Login OK
>
> But i add content the same with CAS management webapp (5.0.5): I see 1 file
> service json added to \cas-management\WEB-INF\classes\services
>
> => But Cas Login can't get service json config in CAS management webapp (It
> still got the service Registry from Cas server (5.0.5)  localtion
> \cas\WEB-INF\classes\services
>
> In CAS documentation :
> https://apereo.github.io/cas/5.0.x/installation/Installing-ServicesMgmt-Webapp.html
> have content guide:
>
> Synchronized Configuration
>
> You MUST keep in mind that both applications (the CAS server and the
> services management webapp) share the sameservice registry configuration for
> CAS services.
>
>
> How do i solve this problem ?
>
>
> Thanks.
>
>
> --
> - 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/ee8cd685-682e-470e-b182-6d1dfa2fabc9%40apereo.org.



-- 
Venkata S Sadhu (Seshu)
India (Mobile) : +91 7032638062 (WhatsApp)
INDIA

-- 
- 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/CAABZGc0%3DScJ-UABjkskguY1YuijzCVm0uLr-j3dTj5c56XtZyw%40mail.gmail.com.

Reply via email to