<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Hi Suelane,&nbsp;</div>
<div><br>
</div>
<div>Could you also provide the URLs for the two screen shot images you included in the Word doc you attached? I.e. The URL for the login page (CAS login) and the following “connection refused&quot; page. There might be something about those URLs that may explain
 the connection refused error(?).</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nick</div>
<div>
<div>--&nbsp;</div>
<div>
<div style="font-family: Calibri; font-size: medium;">Nick dos Remedios</div>
<div style="font-family: Calibri; font-size: medium;">Atlas of Living Australia</div>
<div style="font-family: Calibri; font-size: medium;">http://www.ala.org.au/</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&quot;Suelane G. Fontes&quot; &lt;<a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Saturday, 26 April 2014 4:53 am<br>
<span style="font-weight:bold">To: </span>Nick &lt;<a href="mailto:nick.dosremedios@csiro.au">nick.dosremedios@csiro.au</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>&quot; &lt;<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>&gt;, &quot;<a href="mailto:support@ala.org.au">support@ala.org.au</a>&quot; &lt;<a href="mailto:support@ala.org.au">support@ala.org.au</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: Cas Authentication - Hubs-Webapp<br>
</div>
<div><br>
</div>
<div>
<div>
<div>Hi Nick!&nbsp;</div>
<div><br>
<div>I am trying to integrate the Hubs-WEBAPP with CAS jasig.&nbsp;</div>
<div>It is partially working but I have some issues ...</div>
<div>I am sending attached the document explaining the issue and the Tomcat logs.</div>
<div>&nbsp;</div>
<div>Thanks!&nbsp;</div>
<div>Regards.</div>
<div>&nbsp;</div>
<div>Sueln</div>
</div>
<hr style="border-top: 1px solid #ccc;">
<div><br>
<strong>De:</strong> <a href="mailto:Nick.Dosremedios@csiro.au">Nick.Dosremedios@csiro.au</a><br>
<strong>Enviada:</strong> Terça-feira, 22 de Abril de 2014 04:05<br>
<strong>Para:</strong> <a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a><br>
<strong>Assunto:</strong> Cas Authentication - Hubs-Webapp<br>
<br>
</div>
<div>
<div>Hi Suelane,</div>
<div>&nbsp;</div>
<div>There are many variables to getting CAS working its hard to tell what the problem is from your screen shots alone. One thing I can suggest is that you compare the web.xml file you are using with hubs-webapp to the generated web.xml in the Collectory grails
 app and try to work out what CAS settings are different that might be causing your issue.</div>
<div>&nbsp;</div>
<div>Also does your&nbsp;casServerName and loginUrl settings both start with “https”? Have you set the correct “contextPath” value (/hubs-webapp)?</div>
<div>&nbsp;</div>
<div>Regards Nick</div>
<div>
<div>--&nbsp;</div>
<div>
<div style="font-family: Calibri; font-size: medium;">Nick dos Remedios</div>
<div style="font-family: Calibri; font-size: medium;">Atlas of Living Australia</div>
<div style="font-family: Calibri; font-size: medium;"><a href="http://www.ala.org.au/" target="_blank">http://www.ala.org.au/</a></div>
</div>
</div>
</div>
<div>&nbsp;</div>
<div style="font-family: Calibri; font-size: 11pt; text-align: left; color: black; border-bottom: medium none; border-left: medium none; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; border-top: #b5c4df 1pt solid; border-right: medium none; padding-top: 3pt;">
<span style="font-weight: bold;">From: </span>&quot;Suelane G. Fontes&quot; &lt;<a href="../../../undefined//compose?to=suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>&gt;<br>
<span style="font-weight: bold;">Date: </span>Friday, 18 April 2014 7:45 am<br>
<span style="font-weight: bold;">To: </span>Nick &lt;<a href="../../../undefined//compose?to=nick.dosremedios@csiro.au" target="_blank">nick.dosremedios@csiro.au</a>&gt;<br>
<span style="font-weight: bold;">Cc: </span>&quot;<a href="../../../undefined//compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&quot; &lt;<a href="../../../undefined//compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&gt;,
 &quot;<a href="../../../undefined//compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a>&quot; &lt;<a href="../../../undefined//compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a>&gt;<br>
<span style="font-weight: bold;">Subject: </span>Re: Cas Authentication - Hubs-Webapp</div>
<div>&nbsp;</div>
<div>
<div>
<div>&nbsp;</div>
<div>Hi Nick,</div>
<div>I did what you suggested and we integrated ala-hubs with jasig-cas. <br>
Now, The Log in button (see image attached)&nbsp; redirects the hubs-webapp page to jasig-cas authentication page.
<br>
nevertheless, The search button in the same page can be accessed even if the user do not perform the log in operation.
<br>
We would like to know how to enforce this authentication before the user has access to perform a search in ala-hubs.</div>
<div>Thanks!</div>
<div>Regards.</div>
<hr style="border-top: 1px solid #ccc;">
<div><br>
<strong>De:</strong> <a href="../../../undefined//compose?to=Nick.Dosremedios@csiro.au" target="_blank">
Nick.Dosremedios@csiro.au</a><br>
<strong>Enviada:</strong> Quinta-feira, 17 de Abril de 2014 00:16<br>
<strong>Para:</strong> <a href="../../../undefined//compose?to=suelane@uol.com.br" target="_blank">
suelane@uol.com.br</a>,<a href="../../../undefined//compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>,<a href="../../../undefined//compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a><br>
<strong>Assunto:</strong> Cas Authentication - Hubs-Webapp<br>
</div>
<div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">Hi Suelane,</div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">&nbsp;</div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">I’d suggest you try these 2 minor changes to the web.xml file:</div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">&nbsp;</div>
<div>1. Change the serverName section -</div>
<div>from:</div>
<div>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">serverName</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">&nbsp;
</span></span></span><span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:8080/hubs-webapp/" target="_blank">http://143.107.102.247:8080/hubs-webapp/</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; line-height: normal;">to:</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">serverName</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">&nbsp;
</span></span></span><span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:8080/hubs-webapp/" target="_blank">http://143.107.102.247:8080</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">contextpath</span></span></span></p>
<p style="font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span style="color: #0000cc;">&nbsp; &lt;param-valu</span><span style="color: #0000ff;">e&gt;/h</span></span></span><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span style="color: #0000ff;">ubs-webapp</span></span></span><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span style="color: #0000ff;"><span style="color: #0000cc;">param-value&gt;</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><br>
</span></span></span></p>
</div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">
<div>2. Change the server uriFilterPattern to:</div>
<div>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">&nbsp; uriFilterPattern</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">&nbsp; /*</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
</div>
<div>&nbsp;</div>
<div>I also note you are missing a few filter settings that we use in our version of hub-webapp. I’ve attached a sample “web.xml” file that you should look at, to check against, if the above changes do not work.</div>
<div>&nbsp;</div>
<div>Regards</div>
<div>&nbsp;</div>
<div>Nick</div>
<div>--&nbsp;</div>
<div>
<div style="font-family: Calibri; font-size: medium;">Nick dos Remedios</div>
<div style="font-family: Calibri; font-size: medium;">Atlas of Living Australia</div>
<div style="font-family: Calibri; font-size: medium;"><a href="http://www.ala.org.au" target="_blank">http://www.ala.org.au</a>/</div>
</div>
</div>
</div>
<div style="color: #000000; font-family: Calibri, sans-serif; font-size: 14px;">&nbsp;</div>
<div style="font-family: Calibri; font-size: 11pt; text-align: left; color: black; border-bottom: medium none; border-left: medium none; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; border-top: #b5c4df 1pt solid; border-right: medium none; padding-top: 3pt;">
<span style="font-weight: bold;">From: </span>&quot;Suelane G. Fontes&quot; &lt;<a href="../undefined/compose?to=suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>&gt;<br>
<span style="font-weight: bold;">Date: </span>Thursday, 17 April 2014 5:22 am<br>
<span style="font-weight: bold;">To: </span>&quot;<a href="../undefined/compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&quot; &lt;<a href="../undefined/compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&gt;,
 &quot;<a href="../undefined/compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a>&quot; &lt;<a href="../undefined/compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a>&gt;<br>
<span style="font-weight: bold;">Subject: </span>Cas Authentication - Hubs-Webapp</div>
<div>&nbsp;</div>
<div>
<div>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span lang="en-US">Hi all,</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">We need to enforce the users to authenticate before have access to ALA-PORTAL..</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">We found a authentication enforcement in ala-collectory module, when the user tries to access the “admin” page, using JASIG Cas server.</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">We performed the following steps to test the authentication:</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span lang="en-US">We deployed an instance of JASIG Cas server (</span><span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.jasig.org/cas" target="_blank"><span lang="en-US">http://www.jasig.org/cas</span></a></span></span></span><span lang="en-US">)
 in server:&nbsp;</span><span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002%2Fcas-server-webapp-3.4.12.1%2Flogin&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNH3vG0Ka4sLQzPoHwActqlfWHpv0g" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1</a>.</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span lang="en-US">We configured the ala-collectoy to enforce authentication in file: ala-collectory-0.1.0/ala-collectory/grails-app/conf/config.groovy , using the following code:</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">/*****************************</span><span style="font-size: 13px;">******************************</span><span style="font-size: 13px;">*******************\</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
* &nbsp;SECURITY<br>
\******************************************************************************/<br>
if (!security.cas.uriFilterPattern) {<br>
&nbsp; &nbsp;security.cas.uriFilterPattern = &quot;/admin.*,/collection.*,/institution.*,/contact.*,/reports.*,&quot; &#43;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;/providerCode.*,/providerMap.*,/dataProvider.*,/dataResource.*,/dataHub.*,/manage/.*&quot;<br>
}<br>
if (!security.cas.loginUrl) {<br>
&nbsp; &nbsp;security.cas.loginUrl = &quot;<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002%2Fcas-server-webapp-3.4.12.1%2Flogin&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNH3vG0Ka4sLQzPoHwActqlfWHpv0g" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/login</a></span></span></span>&quot;<br>
}<br>
if (!security.cas.logoutUrl) {<br>
&nbsp; &nbsp;security.cas.logoutUrl = &quot;<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002%2Fcas-server-webapp-3.4.12.1%2Flogout&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNHehugoZZSv8DVSUX-3YHdqFzEY6A" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/logout</a></span></span></span>&quot;<br>
}<br>
if (!security.apikey.serviceUrl) {<br>
&nbsp; &nbsp;security.apikey.serviceUrl = &quot;<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002%2Fcas-server-webapp-3.4.12.1%2Fapikey%2Fws%2Fcheck%3Fapikey%3D&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNGqC95eT2XCTZg-6Vh_63edJG7VyA" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/apikey/ws/check?apikey=</a></span></span></span>&quot;<br>
}<br>
if(!security.cas.appServerName){<br>
&nbsp; &nbsp;security.cas.appServerName = &quot;<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNH5k83H3rCfxq9G6357RoRk2vu4yA" target="_blank">http://143.107.102.247:65002</a></span></span></span>&quot;<br>
}<br>
if(!security.cas.casServerName){<br>
&nbsp; &nbsp;security.cas.casServerName = &quot;<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A8080&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNHNS4B3AfRd4bnMHSoxOVwzDisprw" target="_blank">http://143.107.102.247:8080</a></span></span></span>&quot;<br>
}<br>
if(!security.cas.uriExclusionFilterPattern){<br>
&nbsp; &nbsp;security.cas.uriExclusionFilterPattern = '/images.*,/css.*,/js.*,/less.*'<br>
}<br>
if(!security.cas.authenticateOnlyIfLoggedInPattern){<br>
&nbsp; &nbsp;security.cas.authenticateOnlyIfLoggedInPattern = &quot;&quot; // pattern for pages that can optionally display info about the logged-in user<br>
}<br>
if(!security.cas.casServerUrlPrefix){<br>
&nbsp; &nbsp;security.cas.casServerUrlPrefix = '<span style="color: #0000ff;"><span lang="en-US"><span style="text-decoration: underline;"><a style="color: #1155cc;" href="http://www.google.com/url?q=http%3A%2F%2F143.107.102.247%3A65002%2Fcas-server-webapp-3.4.12.1%2F%27&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNGRqmrqERZlp6oeLUpeJlC8LhUNqA" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/'</a></span></span></span><br>
}<br>
if(!security.cas.bypass){<br>
&nbsp; &nbsp;security.cas.bypass = true<br>
}<br>
if(!disableAlertLinks){<br>
&nbsp; &nbsp;disableAlertLinks = false<br>
}<br>
<br>
if(!disableOverviewMap){<br>
&nbsp; &nbsp;disableOverviewMap = false<br>
}</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">then, we tried to access the admin section of ala-collectory browser. Which worked perfectly: the ala-collectory redirected the call to CAS server login page, and after the user provides correct username and password the user
 is redirected again to admin-section of ala-collectory.</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">We would like to enforce the same authentication in ala-hubs, as shown in the figure adapted from wiki (attached).</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span lang="en-US">We followed the steps in wiki</span>:</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<a style="color: #1155cc;" href="https://code.google.com/p/ala-bie/wiki/Authentication#Example_web.xml_configuration" target="_blank">https://code.google.com/p/ala-bie/wiki/Authentication#Example_web.xml_configuration</a>&nbsp;.</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">In pom.xml of hubs-webapp directory we included the following code:</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">org.jasig.cas</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">cas-client-core</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;">3.1.10</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">jar</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">compile</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">au.org.ala</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">ala-cas-client</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">2.0-SNAPSHOT</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">jar</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">compile</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">javax.servlet</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"><span lang="en-US">servlet-api</span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;">&nbsp;</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">In web.xml file we included the following code:</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">serverName</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:8080/hubs-webapp/" target="_blank">http://143.107.102.247:8080/hubs-webapp/</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">casServerName</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:8080/" target="_blank">http://143.107.102.247:8080</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">uriFilterPattern</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">/, /occurrences/\d&#43;, /occurrences/search, /explore/your-area</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS Authentication Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">au.org.ala.cas.client.UriFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">filterClass</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">org.jasig.cas.client.authentication.AuthenticationFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">casServerLoginUrl</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/login" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/login</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">gateway</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">true</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS Validation Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">au.org.ala.cas.client.UriFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">filterClass</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;">casServerUrlPrefix</span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #ff0000;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><a style="color: #1155cc;" href="http://143.107.102.247:65002/cas-server-webapp-3.4.12.1" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1</a></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS HttpServletRequest Wrapper Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">au.org.ala.cas.client.UriFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">filterClass</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">au.org.ala.cas.client.AlaHttpServletRequestWrapperFilter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS Authentication Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">/*</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS Validation Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">/*</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">CAS HttpServletRequest Wrapper Filter</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
<span style="color: #0000cc;"><span style="font-family: 'Courier New', serif;"><span style="font-size: 9pt;"><span lang="en-US">/*</span></span></span></span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
then we deployed the hubs-webapp.war in tomcat server. Unfornatelly, when the user access ala-webapp no autentication is asked by ala-portal.</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
<span style="font-size: 13px;">What we need to do in order to enforce all the users to autenticate in jasig cas before have access to hubs-webapp?</span></p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
Regards,&nbsp;</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0.14in;" lang="pt-BR">
Suelane/Silvio</p>
</div>
</div>
<div>&nbsp;</div>
</div>
</div>
<div>&nbsp;</div>
</div>
</div>
</span>
</body>
</html>