grouper-users - [grouper-users] CAS Authentication Help
Subject: Grouper Users - Open Discussion List
List archive
- From: Jonathan Keller <>
- To: Grouper Users <>
- Subject: [grouper-users] CAS Authentication Help
- Date: Fri, 28 Aug 2020 21:49:29 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucdavis.edu; dmarc=pass action=none header.from=ucdavis.edu; dkim=pass header.d=ucdavis.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RIvfRfrQUkwAxLjX2i+9/3NvcyWX1uPBKOAAk72liVI=; b=l0U5PuB4ohL2z7NZgO1OimyWpj+x2AX6aE1vFmGo3FKFcQHEnivopHpWVZd93AqKbYKXhYeJoeQg1tpFEqy0YPxupL+Re+oSGVfklm2W9/08tcuPTDCQm+Ht1FWy1YPKcpnGQ0mM429h0fDFLZuH12VN305n+vdXSA4tT1c/N0rykepl4yrKqhzrorhBkEJhryK8th2vkYbtslqUUiC+fjKRjLXhpEh9yZAJYbYn2OrH7GdM369xO8M9lJf9Ydc3rifwToZnrHZuhN6KRHWqLsEERvQSL3PHOHqBvrHfMTmemTwXyYhXlS+8AY89eFF9Am865YS7QlQEjQ021GUsig==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lt906uq7hrL+G8CBcY8w64awfbqrZ9EnigyG+5sodmuHe6fSEnUJjwhw4vYQ5DVFvhenjcekDs+ii1xDrDv5wjsZlt3jNYTMj/FuLEt/NIYHKAZzKyVquhrx7QdzQpOd6e/weluDji2UK+Yb39OCrx1DSyjz8x+qG0bPbICi6LwziPSyfbx2Rs8FS/yLXso3u/UHyfgl+bNpczQiLKUPPEcpQlJ0vQkhOBLNm4hxnOcUIJn8WgLN1KjP5bL1gJ9MksvwxBIM1XHUjmzw+YUWwZ0Q5y+le5278ApaOqBQjKk8MH3pkeGZ43TKdxjegeyIT8Z+wf8MjUxB+f6vwkyXag==
I'm hoping this is a quick question for someone. I am trying to get our local campus CAS authentication integrated with the Grouper UI. I've been following the setup instructions here:
And using the Tomcat web.xml version of the setup.
I have the redirect working, and the CAS servers are redirecting back. Debug logging shows that the ticket validation is working - I can see my user ID coming back in the XML response from our servers.
However, the resulting user ID does not seem to be getting extracted into the servlet request by the HttpServletRequestWrapperFilter. I've checked the code of that class, and it attempting to extract the assertion into the getRemoteUser() method
of the request, which the above documentation says will be used by the Grouper UI. However, I'm getting the (dreaded?)
"You have an anonymous session since you are not logged in,..." message.
Given what I am seeing, it would appear that either the filter is not running, or is not instrumenting the servlet request which is executing the UI. I'm hoping there is just some additional configuration that I'm missing. My setup is pretty
much like the documentation except for using these for the init params:
<init-param>
<param-name>casServerUrlPrefix</param-name>
</init-param>
<init-param>
<param-name>service</param-name>
<param-value>${serverName}/grouper/</param-value>
</init-param>
I also upgraded to the Cas30ProxyReceivingTicketValidationFilter - but the problem existed with the 2.0 proxy as well.
Any help would be appreciated.
Thanks.
--
Jonathan Keller
Application Architect - Administrative IT
- [grouper-users] CAS Authentication Help, Jonathan Keller, 08/28/2020
Archive powered by MHonArc 2.6.19.