<div dir="ltr"><div>Hi Haris,</div><div><br></div><div>For multiple whitelist, you can insert the system property in standalone.xml with whitespace separator:</div><div><span style="color:rgb(150,152,150);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"><property name="zanata.origin.whitelist" value="<a href="http://localhost1:8000">http://localhost1:8000</a> </span><span style="color:rgb(150,152,150);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"><a href="http://localhost2:8000">http://localhost2:8000</a> </span><span style="color:rgb(150,152,150);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"><a href="http://localhost3:8000">http://localhost3:8000</a></span><span style="color:rgb(150,152,150);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">" /></span></div><div><br></div>As for the IP address, my guess is that you will need the internal IP address of those requester. So you might end up having to put e.g. <a href="https://localhost:8443/webapp" target="_blank" style="font-size:12.8px">https://192.168.1.1:8443/webapp</a> for the machine.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div><div><font face="arial, helvetica, sans-serif" color="#999999"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">---------------------------------------------</span></font></div><div><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"><font face="arial, helvetica, sans-serif" color="#666666"><br></font></span></div><font face="arial, helvetica, sans-serif" color="#666666"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Alex Eng</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#666666">Senior Software Engineer<br style="font-size:13.3333330154419px"><span style="font-size:12.8000001907349px">Globalisation Tools Engineering</span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">DID:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+3514+8262" style="text-decoration:none" target="_blank">+61 3514 8262</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Mobile:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+614+2335+3457" style="text-decoration:none" target="_blank">+614 2335 3457</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Red Hat, Asia-Pacific Pty Ltd</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Level 1, 193 North Quay</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Brisbane 4000</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Office:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+7+3514+8100" style="text-decoration:none" target="_blank">+61 7 3514 8100</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Fax:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="callto:+61+7+3514+8199" style="text-decoration:none" target="_blank">+61 7 3514 8199</a></span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><br style="font-size:13.3333330154419px"><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)">Website:</span><span style="font-size:13.3333330154419px;background-color:rgb(253,253,253)"> </span><span style="font-size:13.3333330154419px"><a href="http://www.redhat.com/" style="text-decoration:none" target="_blank">www.redhat.com</a></span></font><br></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 2, 2016 at 10:45 PM, Haris Alijagić <span dir="ltr"><<a href="mailto:Haris.Alijagic@halcom.si" target="_blank">Haris.Alijagic@halcom.si</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="SL" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I saw you added an option to whitelist origins for Zanata Rest requests. I was wondering if you could help me with this situation. For example lets say in our network Zanata is set up on this domain :
<a href="https://zanatadomain/zanata" target="_blank">https://zanatadomain/zanata</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">And then on the same network we have for example 30 computers that run their own web application each on their own localhost for example :
<a href="https://localhost:8443/webapp" target="_blank">https://localhost:8443/webapp</a><u></u><u></u></p>
<p class="MsoNormal">What would I need to put as the whitelist value in the configuration so that every one could send Rest requests to zanata from their webapp, would just »https://localhost:8443« work I assume it wouldnt?<br>
<br>
Thank you for your help<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Haris Alijagic<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br></blockquote></div><br></div>