<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Great stuff Daniel,<div><br></div><div>I'd like to update the wiki (or I can give you access to, which might be better) with a link to your installation, and details of it when its ready if that is ok? &nbsp;It will be highly useful for others to know what hardware you are running on, OS versions etc.</div><div><br></div><div>Thanks,</div><div>Tim</div><div><br><div><div>On Mar 6, 2014, at 11:58 AM, Daniel Lins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Thanks Dave!<div><br></div><div><div>We did not use the installation script. We had some issues during script execution (I'll post these issues in another email). We did a manual installation through the build of the source code files.</div>
<div><br></div><div>I believe our problem <span id="fd9ab7a6-dde6-4184-92e8-1d3d7921ec16" class="GINGER_SOFTWARE_mark">was</span> in the line below. I'll test and send to you a feedback.<br></div><div><br></div><div># disable all security</div>
<div>security.cas.uriFilterPattern=/dummy</div><div><br></div><div>Thanks again.</div></div><div><br></div><div class="gmail_extra">--&nbsp;<br></div><div class="gmail_extra"><div class="gmail_extra">Daniel Lins da Silva</div>
<div class="gmail_extra">(<span id="6022d3fc-8649-43be-a865-b6b88afa9a12" class="GINGER_SOFTWARE_mark">Cel</span>) 55 11 96144-4050</div><div class="gmail_extra">Research Center <span id="17e4e6fc-b651-4931-93e3-c5dd4843cf4e" class="GINGER_SOFTWARE_mark">on</span> Biodiversity and Computing (Biocomp)</div>
<div class="gmail_extra">University of Sao Paulo, Brazil</div><div class="gmail_extra"><a href="mailto:daniellins@usp.br">daniellins@usp.br</a></div><div class="gmail_extra"><a href="mailto:daniel.lins@gmail.com">daniel.lins@gmail.com</a></div>
<div class="gmail_extra"><br></div><br><div class="gmail_quote">2014-03-06 0:05 GMT-03:00  <span dir="ltr">&lt;<a href="mailto:David.Martin@csiro.au" target="_blank">David.Martin@csiro.au</a></span><span dir="ltr">&gt;</span><span id="8b514dda-efe0-429c-b8d9-1aee3c2211b0" class="">:</span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Thanks Daniel.
<div><br>
</div>
<div>Did you use the installation script<span id="934b0c53-54f8-4245-ad91-b9dab3020e41" class=""> ?</span> If so it should have CAS disabled by default.&nbsp;</div>
<div><br>
</div>
<div>The file:</div>
<div><br>
</div>
<div>/data/collectory/config/collectory-config.properties&nbsp;</div>
<div><br>
</div>
<div><span id="81f12791-4f34-4958-8157-0690e2ec5b80" class="">should</span> look like:</div>
<div><br>
</div>
<div><p># Security bypass</p><p><span id="80defed3-1588-4113-bdad-7b296c983e31" class="">security</span><span id="8ed1710f-1d82-4704-a5f6-9c3e5991ce92" class="">.</span><span id="e080a541-7d51-4390-b347-6ad3e2e0f4f9" class="">cas</span><span id="8976613c-bd4f-4d1a-a134-71eea129ad44" class="">.</span>bypass=true</p><p><br>
</p><p># disable all security</p><p><span id="deffd4ae-b034-4684-b591-f4566de6345e" class="">security</span><span id="68718950-ff81-4b8e-a8b3-3ac05db738cc" class="">.</span><span id="68f90be2-6057-4be5-96b4-22388901709a" class="">cas</span><span id="a250cbb1-db12-42cb-bef1-7b0d054685b6" class="">.</span>uriFilterPattern=/dummy</p>

</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Dave Martin</div>
<div>ALA<br>
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> <a href="mailto:ala-portal-bounces@lists.gbif.org" target="_blank">ala-portal-bounces@lists.gbif.org</a> [<a href="mailto:ala-portal-bounces@lists.gbif.org" target="_blank">ala-portal-bounces@lists.gbif.org</a>] on behalf of Daniel Lins [<a href="mailto:daniel.lins@gmail.com" target="_blank">daniel.lins@gmail.com</a>]<br>

<b>Sent:</b> 06 March 2014 13:53<br>
<b>To:</b> <a href="mailto:ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a><br>
<b>Subject:</b> [Ala-portal] How to bypass the authentication process of Collectory component<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>Hi Guys,</div>
<div><br>
</div>
<div>We did the deployment of the main ALA components (Biocache, Hubs-webapp and Collectory) and now we do some tests with local data. However, we don't have access to the administrative features of Collectory component.&nbsp;</div>

<div><br>
</div>
<div>We check that the ALA access control is accomplished through the CAS component (Central Authentication Service), and we will install it soon. Now we would like to bypass this authentication in order to test the administrative features without the CAS deployment/configuration.&nbsp;</div>

<div><br>
</div>
<div>I noticed that exist some parameters in the <span id="40590d99-b98c-440e-85d2-d544eca18ae6" class="">collectory</span> configuration files to do this, but in our tests did not work properly.</div>
<div><br>
</div>
<div>Can we disable (bypass) the authentication process to use the <span id="998f5e3f-595c-493a-b35b-46e0324e53b9" class="">collectory</span> administrative features without the CAS deployment? How to do this?</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Best Regards,</div>
<div><br>
</div>
-- <br>
<div>Daniel Lins da Silva<br>
(<span>Cel</span>) <a href="tel:55%2011%2096144-4050" value="+5511961444050" target="_blank">55 11 96144-4050</a></div>
<div>Research Center&nbsp;<span>on</span>&nbsp;Biodiversity and Computing (Biocomp)<br>
</div>
<div>University of Sao Paulo, Brazil<br>
</div>
<div><a href="mailto:daniellins@usp.br" target="_blank">daniellins@usp.br</a><br>
</div>
<div><a href="mailto:daniel.lins@gmail.com" target="_blank">daniel.lins@gmail.com</a><br>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>
</div></div>
_______________________________________________<br>Ala-portal mailing list<br><a href="mailto:Ala-portal@lists.gbif.org">Ala-portal@lists.gbif.org</a><br>http://lists.gbif.org/mailman/listinfo/ala-portal<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">----------------------------------------------------------------------------------------</p><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">Tim Robertson - GBIF Head of Informatics - <a href="mailto:trobertson@gbif.org">trobertson@gbif.org</a></p><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">Global Biodiversity Information Facility <a href="http://www.gbif.org/">http://www.gbif.org/</a></p><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">GBIF Secretariat, Universitetsparken 15, DK-2100 Copenhagen Ø, Denmark</p><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">Tel: +45 3532 1487<span class="Apple-converted-space">&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Mob: +45 2826 1487<span class="Apple-converted-space">&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Fax: +45 2875 1480</p><p class="p1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Arial; ">----------------------------------------------------------------------------------------</p></div></div></span></span>
</div>
<br></div></body></html>