If this property should be replaced in the properties files

In the cas_server you must go this property in the file properties of the
route (/etc/cas/config Linux), (C:/etc/CAs/Windows config)


You must remember that this path is the one that will be read recursive to
load all the files. JSON O. Yaml that have the services when the
application is deployed

2017-08-01 2:15 GMT-05:00 Marco Aurelio Osorio De León <
[email protected]>:

> 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/M
>> ailing-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/ap
>> ereo.org/d/msgid/cas-user/0ec89d2e-938e-4157-8287-d70bcf31c7
>> e1%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
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEKXz6sw0AoV-zDRsb5a-Q5ftDtGAUOgHrQ119h1MYCA5p20%2BA%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/CACUgg2_df5Hw4kGjh17%2B1AgLbA6_NAyKZwwkFYwSHyr5g3kBCA%40mail.gmail.com.

Reply via email to