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] 
> <javascript:>> 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] <javascript:>
>>         
>>
>> 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] <javascript:>>:
>>
>>> 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] <javascript:>.
>>> 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] <javascript:>.
>> 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 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/401a67b3-a70a-4d0a-94b3-3a3c5f2fe550%40apereo.org.

Reply via email to