Re: CAS keeps generating RegexRegisteredService-********.json files in CAS/Services folder

64 views
Skip to first unread message
Message has been deleted

Andy Ng

unread,
Aug 28, 2019, 10:57:21 AM8/28/19
to CAS Community
Hi John,


See if the suggetion from the discussion can help you disable generting these json files.

Cheers!
- Andy

On Tuesday, 27 August 2019 13:03:08 UTC+8, john wrote:
Hi, i have  configured CAS 5.2.3  with Openid, during every server startup the CAS generates RegexRegisteredService-********.json files.  How to avoid generating these json files.

Thanks
John

Andy Ng

unread,
Aug 28, 2019, 9:13:48 PM8/28/19
to CAS Community
Hi John,

On seconds thought, those might be some necessary service for OpenID to use 

Can you check if the serviceId is something like `https://cas.example.org:8443/cas/oauth2.0/callbackAuthorize`? 

If so, then you probably don't want to remove those, or else your CAS will most likely have unexpected error when using OpenID.

Hope this info helps.

Cheer!
- Andy
Message has been deleted

john

unread,
Aug 29, 2019, 12:32:31 AM8/29/19
to CAS Community

Andy, i am using openid and as you mentioned, in generated json it has serviceid as mentioned below. But CAS generates new file when server is restarted instead of looking into already generated json file. 

Andy Ng

unread,
Aug 30, 2019, 4:01:39 AM8/30/19
to CAS Community
Hmm very strange, it shouldn't do that, at least it doesn't do that in my CAS deployment. What is the version of CAS that you use?

- Andy

john

unread,
Aug 30, 2019, 11:36:04 AM8/30/19
to CAS Community
Andy, i am using cas 5.2.3 version. i have attached the cas.properties for reference

Thanks
John.
cas.properties
Reply all
Reply to author
Forward
0 new messages