Hello,

 

Despite this issue being old, I leave here my 2023 experience with CAS 
server 667 and CAS management 662.

 

I was having the same problem described here, every time I started CAS 
management 662, the two following services apeared, even after I previously 
and successfully deleted them on CAS management web app:

 

(1) Apereo

Service Name: Apereo

Service URL: ^https://www.apereo.org

Description: Apereo foundation sample service

 

(2) HTTPS and IMAPS

Service Name: HTTPS and IMAPS

Service URL: ^(https|imaps)://.*

Description: This service definition authorized all application urls that 
support HTTPS and IMAPS protocols.

 

The solution for me was simply place the following config

 

*cas.service-registry.core.init-from-json=false*

 

on my* “/etc/cas/config/management.properties”* CAS management 
configuration file.

 

Best regards to all
A sexta-feira, 28 de setembro de 2018 à(s) 08:33:55 UTC+1, Ganesh Prasad 
escreveu:

> I used the same solution, and it works for me :-).
>
> It's probably worth clarifying for the benefit of other folks (who may 
> think like me) that "empty file" doesn't mean a completely empty file (zero 
> bytes) but a file containing just an open curly brace and a close curly 
> brace. The former causes CAS to fail on startup.
>
> As an aside, CAS should operate in locked-down mode by default. We 
> shouldn't have to do extra things to secure it.
>
> Regards,
> Ganesh
>
>
> On Wednesday, 24 May 2017 18:17:42 UTC+10, Ben Howell-Thomas wrote:
>
>> Don't know if it's the best solution but we've created blank (ie empty 
>> file) versions of those files in our project so the originals get 
>> overridden.
>>
> On 24 May 2017 at 07:14, Petr Gašparík - AMI Praha a.s. <[email protected]> 
>> wrote:
>>
> That's exactly my question, that is not covered by docs, AFAIK.
>>>
>>> Misagh or Dima, please, let us know how to turn off creation of these 
>>> files.
>>>
>>> So far we use this workaround: on overlay, create empty files in this 
>>> location:
>>> src\main\resources\services\HTTPSandIMAPS-10000001.json
>>> src\main\resources\services\Apereo-10000002.json
>>>
>>>
>>> --
>>>
>>> s pozdravem
>>>
>>> Petr Gašparík
>>> solution architect
>>>
>>> gsm: [+420] 603 523 860
>>> e-mail: [email protected]
>>>         
>>>
>>> AMI Praha a.s.
>>> Pláničkova 11
>>> 162 00 Praha 6
>>> tel.: [+420] 274 783 239
>>> web: www.ami.cz
>>>         
>>>
>>> [image: AMI Praha a.s.]
>>>
>>> [image: AMI Praha a.s.] 
>>> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/audit-roli-a-opravneni-sap>
>>>
>>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za 
>>> společnost AMI Praha a.s.
>>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít 
>>> výhradně písemnou formu.
>>>
>>>
>>> 2017-05-24 0:45 GMT+02:00 RJ <[email protected]>:
>>>
>>>> Guys,
>>>>
>>>> In the latest version 5.0.5 or 5.1.0-RC4, the default 
>>>> service,HTTPSandIMAPS-10000001.json, gets auto created during the startup. 
>>>> We kept deleting it but it comes back. It wasn't the case in the past. How 
>>>> to turn the auto creation off ?
>>>>
>>>> HTTPSandIMAPS-10000001.json
>>>> Apereo-10000002.json
>>>>
>>>> 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/CACNfiM%2BaigyqPB30YPwM6OaYtw9jdr4UX9%2BFgFatThyRx4E%2BmQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CACNfiM%2BaigyqPB30YPwM6OaYtw9jdr4UX9%2BFgFatThyRx4E%2BmQ%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/CABAspd1cmC6VAjsnfZ%3DcrfAS6cKrHO_Ujb8fyFjUyKpP2W7nJw%40mail.gmail.com
>>>  
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABAspd1cmC6VAjsnfZ%3DcrfAS6cKrHO_Ujb8fyFjUyKpP2W7nJw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>> This email is sent on behalf of Northgate Public Services (UK) Limited 
>> and its associated companies including Rave Technologies (India) Pvt 
>> Limited (together "Northgate Public Services") and is strictly confidential 
>> and intended solely for the addressee(s). 
>> If you are not the intended recipient of this email you must: (i) not 
>> disclose, copy or distribute its contents to any other person nor use its 
>> contents in any way or you may be acting unlawfully;  (ii) contact 
>> Northgate Public Services immediately on +44(0)1908 264500 
>> <+44%201908%20264500> quoting the name of the sender and the addressee 
>> then delete it from your system.
>> Northgate Public Services has taken reasonable precautions to ensure that 
>> no viruses are contained in this email, but does not accept any 
>> responsibility once this email has been transmitted.  You should scan 
>> attachments (if any) for viruses.
>>
>> Northgate Public Services (UK) Limited, registered in England and Wales 
>> under number 00968498 with a registered address of Peoplebuilding 2, 
>> Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 
>> 4NN.  Rave Technologies (India) Pvt Limited, registered in India under 
>> number 117068 with a registered address of 2nd Floor, Ballard House, Adi 
>> Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.
>>
>

-- 
- 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/231ddd2f-c776-42e1-9726-f4cfa5eae359n%40apereo.org.

Reply via email to