Your service provided in this thread: "serviceId" : "^(https|imaps|http)://.*"
Will not match with a port specified. Try instead: "serviceId" : "^(https|imaps|http)://.*:8443/.*" -W On Saturday, April 21, 2018 at 8:44:17 PM UTC-5, IOTech Co., Ltd wrote: > > i have got error...please help me on this bug. Thanks > > Unauthorized Service Access. Service [https://cas01.example.org:8443/cas] > is not found in service registry. > > 2018-04-22 1:07 GMT+07:00 David Curry <[email protected] > <javascript:>>: > >> cas.serviceRegistry.json.location >> >> >> >> David A. Curry, CISSP >> Director of Information Security >> The New School - Information Technology >> 71 Fifth Ave., 9th Fl. ~ New York, NY 10003 >> <https://maps.google.com/?q=71+Fifth+Ave.,+9th+Fl.+~+New+York,+NY+10003&entry=gmail&source=g> >> +1 212 229-5300 x4728 ~ [email protected] <javascript:> >> Sent from my phone; please excuse typos and inane auto-corrections. >> >> >> On Sat, Apr 21, 2018, 13:14 IOTech Co., Ltd <[email protected] >> <javascript:>> wrote: >> >>> i has config as below...but it not work, please help me >>> >>> >>> cas.serviceRegistry.location=file:/etc/cas/services >>> >>> >>> >>> 2018-04-21 20:59 GMT+07:00 David Curry <[email protected] >>> <javascript:>>: >>> >>>> This was answered earlier in this thread. You have the wrong property >>>> name. It changed between 5.1 and 5.2 to: >>>> >>>> cas.serviceRegistry.json.location: file:/etc/cas/services >>>> >>>> If you're moving from one version to another, I strongly recommend >>>> carefully reading the "ChangeLog" blog posts that Misagh writes for every >>>> release candidate before you start. He's pretty good at documenting all >>>> the >>>> changes, especially the ones that might cause an older configuration to >>>> break. >>>> >>>> Go here: https://github.com/apereo/cas/releases/tag/v5.2.0 and click >>>> on "RC1," "RC2," "RC3," and "RC4" (the change above is documented in >>>> "RC2"). >>>> >>>> --Dave >>>> >>>> >>>> -- >>>> >>>> DAVID A. CURRY, CISSP >>>> *DIRECTOR OF INFORMATION SECURITY* >>>> INFORMATION TECHNOLOGY >>>> >>>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 >>>> <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g> >>>> +1 212 229-5300 x4728 • [email protected] <javascript:> >>>> >>>> [image: The New School] >>>> >>>> On Sat, Apr 21, 2018 at 9:26 AM, IOTech Co., Ltd <[email protected] >>>> <javascript:>> wrote: >>>> >>>>> I updated my test sever from CAS v5.1.4 to v5.2.0, and my >>>>> configruation is no longer reading my *.json files from my external file >>>>> location. >>>>> >>>>> Vào 20:24:46 UTC+7 Thứ Bảy, ngày 21 tháng 4 năm 2018, IOTech Co., Ltd >>>>> đã viết: >>>>> >>>>>> please help me : >>>>>> >>>>>> #======================================== >>>>>> # Service Registry >>>>>> #======================================== >>>>>> cas.serviceRegistry.watcherEnabled=true >>>>>> cas.serviceRegistry.repeatInterval=120000 >>>>>> cas.serviceRegistry.startDelay=15000 >>>>>> cas.serviceRegistry.initFromJson=false >>>>>> cas.serviceRegistry.config.location=file:/etc/cas/services >>>>>> >>>>>> >>>>>> *serviceTicket ST-1-5b-doeKww5fM0PDeSvpMPGxk2ak-longtran >>>>>> 200 >>>>>> <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas >>>>>> <http://www.yale.edu/tp/cas>'> >>>>>> <cas:authenticationSuccess> >>>>>> <cas:user>admin</cas:user> >>>>>> </cas:authenticationSuccess> >>>>>> </cas:serviceResponse>* >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Vào 03:37:16 UTC+7 Thứ Ba, ngày 19 tháng 12 năm 2017, crdaudt đã viết: >>>>>>> >>>>>>> I updated my test sever from CAS v5.1.4 to v5.2.0, and my >>>>>>> configruation is no longer reading my *.json files from my external >>>>>>> file >>>>>>> location. Here are my relevant property settings: >>>>>>> >>>>>>> #======================================== >>>>>>> # Service Registry >>>>>>> #======================================== >>>>>>> cas.serviceRegistry.watcherEnabled=true >>>>>>> cas.serviceRegistry.initFromJson=true >>>>>>> cas.serviceRegistry.config.location=file:///etc/cas/services >>>>>>> >>>>>>> I have the following dependency set in pom.xml: >>>>>>> >>>>>>> <dependency> >>>>>>> <groupId>org.apereo.cas</groupId> >>>>>>> <artifactId>cas-server-support-json-service-registry</artifactId> >>>>>>> <version>${cas.version}</version> >>>>>>> </dependency> >>>>>>> >>>>>>> The /etc/cas/services/ directory and json files within it are owned >>>>>>> by tomcat. >>>>>>> >>>>>>> Nevertheless, the only services loaded are the *.json files located >>>>>>> in classpath:/services. On the other hand, if I redeploy the cas.war >>>>>>> file >>>>>>> for v5.1.4 and restart tomcat, my JSON files in /etc/cas/services are >>>>>>> loaded as I would expect. >>>>>>> >>>>>>> Any ideas? >>>>>>> >>>>>>> I have attached copies of my cas.log (with debug enabled), pom.xml, >>>>>>> and cas.properties. Thanks in advance for any help with this. >>>>>>> >>>>>>> -- >>>>> - 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] <javascript:>. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/24abd1be-a3d6-4222-abf4-277f5bb0cd1b%40apereo.org >>>>> >>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/24abd1be-a3d6-4222-abf4-277f5bb0cd1b%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 [email protected] <javascript:>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAMHX9MPYLwBH3LnuVqq%3DAv17H7zGD_yBk4LmWoaGL_gkA%40mail.gmail.com >>>> >>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAMHX9MPYLwBH3LnuVqq%3DAv17H7zGD_yBk4LmWoaGL_gkA%40mail.gmail.com?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 [email protected] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANJBD8pn2bY9Ls30C63dR%2BnGMPOTU-%3D0aU6%2BpFAMj1bvhPzpHw%40mail.gmail.com >>> >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANJBD8pn2bY9Ls30C63dR%2BnGMPOTU-%3D0aU6%2BpFAMj1bvhPzpHw%40mail.gmail.com?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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANVzd7rJ6o8jfMU6Wtt3TCRNm5WB%2BcZAAqRSJUSAFKmiA%40mail.gmail.com >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANVzd7rJ6o8jfMU6Wtt3TCRNm5WB%2BcZAAqRSJUSAFKmiA%40mail.gmail.com?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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/ed472c6d-c02d-43d3-84a0-ff8235974968%40apereo.org.
