<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>Hi Suelane,</div>
<div><br>
</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><br>
</div>
<div>Also does your casServerName and loginUrl settings both start with “https”? Have you set the correct “contextPath” value (/hubs-webapp)?</div>
<div><br>
</div>
<div>Regards Nick</div>
<div>
<div>-- </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><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>"Suelane G. Fontes" <<a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a>><br>
<span style="font-weight:bold">Date: </span>Friday, 18 April 2014 7:45 am<br>
<span style="font-weight:bold">To: </span>Nick <<a href="mailto:nick.dosremedios@csiro.au">nick.dosremedios@csiro.au</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>" <<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>>, "<a href="mailto:support@ala.org.au">support@ala.org.au</a>" <<a href="mailto:support@ala.org.au">support@ala.org.au</a>><br>
<span style="font-weight:bold">Subject: </span>Re: Cas Authentication - Hubs-Webapp<br>
</div>
<div><br>
</div>
<div>
<div>
<div> </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) 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="mailto:Nick.Dosremedios@csiro.au">Nick.Dosremedios@csiro.au</a><br>
<strong>Enviada:</strong> Quinta-feira, 17 de Abril de 2014 00:16<br>
<strong>Para:</strong> <a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a>,<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>,<a href="mailto:support@ala.org.au">support@ala.org.au</a><br>
<strong>Assunto:</strong> Cas Authentication - Hubs-Webapp<br>
<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;"> </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;"> </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;">
</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">
</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;">
</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">
</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;"> <param-valu</span><span style="color: #0000ff;">e>/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></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">
</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">
</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"> /*</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">
</p>
</div>
<div> </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> </div>
<div>Regards</div>
<div> </div>
<div>Nick</div>
<div>-- </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;"> </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>"Suelane G. Fontes" <<a href="../undefined/compose?to=suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>><br>
<span style="font-weight: bold;">Date: </span>Thursday, 17 April 2014 5:22 am<br>
<span style="font-weight: bold;">To: </span>"<a href="../undefined/compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</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>" <<a href="../undefined/compose?to=support@ala.org.au" target="_blank">support@ala.org.au</a>><br>
<span style="font-weight: bold;">Subject: </span>Cas Authentication - Hubs-Webapp</div>
<div> </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: </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&sa=D&sntz=1&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">
* SECURITY<br>
\******************************************************************************/<br>
if (!security.cas.uriFilterPattern) {<br>
security.cas.uriFilterPattern = "/admin.*,/collection.*,/institution.*,/contact.*,/reports.*," +<br>
"/providerCode.*,/providerMap.*,/dataProvider.*,/dataResource.*,/dataHub.*,/manage/.*"<br>
}<br>
if (!security.cas.loginUrl) {<br>
security.cas.loginUrl = "<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&sa=D&sntz=1&usg=AFQjCNH3vG0Ka4sLQzPoHwActqlfWHpv0g" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/login</a></span></span></span>"<br>
}<br>
if (!security.cas.logoutUrl) {<br>
security.cas.logoutUrl = "<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&sa=D&sntz=1&usg=AFQjCNHehugoZZSv8DVSUX-3YHdqFzEY6A" target="_blank">http://143.107.102.247:65002/cas-server-webapp-3.4.12.1/logout</a></span></span></span>"<br>
}<br>
if (!security.apikey.serviceUrl) {<br>
security.apikey.serviceUrl = "<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&sa=D&sntz=1&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>"<br>
}<br>
if(!security.cas.appServerName){<br>
security.cas.appServerName = "<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&sa=D&sntz=1&usg=AFQjCNH5k83H3rCfxq9G6357RoRk2vu4yA" target="_blank">http://143.107.102.247:65002</a></span></span></span>"<br>
}<br>
if(!security.cas.casServerName){<br>
security.cas.casServerName = "<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&sa=D&sntz=1&usg=AFQjCNHNS4B3AfRd4bnMHSoxOVwzDisprw" target="_blank">http://143.107.102.247:8080</a></span></span></span>"<br>
}<br>
if(!security.cas.uriExclusionFilterPattern){<br>
security.cas.uriExclusionFilterPattern = '/images.*,/css.*,/js.*,/less.*'<br>
}<br>
if(!security.cas.authenticateOnlyIfLoggedInPattern){<br>
security.cas.authenticateOnlyIfLoggedInPattern = "" // pattern for pages that can optionally display info about the logged-in user<br>
}<br>
if(!security.cas.casServerUrlPrefix){<br>
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&sa=D&sntz=1&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>
security.cas.bypass = true<br>
}<br>
if(!disableAlertLinks){<br>
disableAlertLinks = false<br>
}<br>
<br>
if(!disableOverviewMap){<br>
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> .</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">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in;" lang="pt-BR">
<span style="color: #0000cc;"> </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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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+, /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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</p>
<p style="color: #222222; font-family: arial, sans-serif; font-size: 13px; margin-bottom: 0in; line-height: 12.800000190734863px;" lang="pt-BR">
</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">
</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, </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> </div>
</div>
</div>
</span>
</body>
</html>