Hi, This property should by override in both property files, management and server ## # JSON Service Registry # CAS External Service registre # # Directory location where JSON service files may be found. cas.serviceRegistry.config.location=file:///etc/cas/services or file://etc/cas/xxxxx
2017-07-31 22:29 GMT+02:00 Angel Guerra <[email protected]>: > The solution that worked for me was to configure the parameter so > cas.serviceRegistry.config.location=file:C:/etc/cas/services > > El martes, 30 de mayo de 2017, 21:11:19 (UTC-5), Doan Moon escribió: >> >> 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 >> <https://localhost:8443/cas>* => *Done *( Like Login, Logout, user >> login with File Authen + LDAP Authen >> - Cas management is : *https://localhost:8443/cas-management >> <https://localhost:8443/cas-management>* => *Done *( Login with acc >> in user-details.properties) >> - Cas Client : *http://localhost:7777 >> <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/0ec89d2e-938e-4157-8287- > d70bcf31c7e1%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0ec89d2e-938e-4157-8287-d70bcf31c7e1%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]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEKXz6sw0AoV-zDRsb5a-Q5ftDtGAUOgHrQ119h1MYCA5p20%2BA%40mail.gmail.com.
