Skip to Content.
Sympa Menu

grouper-users - [grouper-users] SSO integration - grouper 2.3.0

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] SSO integration - grouper 2.3.0


Chronological Thread 
  • From: Jeff McCullough <>
  • To: Gouper Users List <>
  • Subject: [grouper-users] SSO integration - grouper 2.3.0
  • Date: Fri, 19 Aug 2016 19:35:03 -0700
  • Ironport-phdr: 9a23:fhkIDhyk7cDitjLXCy+O+j09IxM/srCxBDY+r6Qd0esVIJqq85mqBkHD//Il1AaPBtqLra8fwLOL+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6aijSI4DUTAhTyMxZubqSwQ9aKzpf/6+fn1JrOewhSzAembKlpZDG3thmZ4sYMhpZ6J7x01wDEuGBgeuJKyHluKE7J2Rvw+5Hj0oRk9nFytvwvv+tLerj+e6MlQrwQWDYrPW4w7+XhuAPAQA+C9z0RXnhAwUkAOBTM8ByvBsS5iSD9rOconXDCZcA=

Hi all,

I’ve run into a snag with SSO integration this time around. I’ve actually done the procedure multiple times on other versions, and it was very easy to setup, no problems. This time with grouper 2.3.0, no workie.  Here’s what I’ve done:

I have the CAS 3.4.2 java client integrated with tomcat version 7 running on java 1.8. 

I removed the security-constraints, login-config, and security-role from the web.xml file. 

I modified the struts-config.xml with callLogin set to home.do, though the previous step is where I start seeing the below error.

This seemed redundant (because REMOTE_USER is the default), but found it in a email thread where someone else was having the same issue.
I modified grouper.ui.authentication.http.header = $REMOTE_USER

Lastly I added the debug statement (log4j.logger.edu.internet2.middleware.grouper.ui.GrouperUiFilter = DEBUG) in log4j with the result of:

2016-08-19 19:24:55,632: [http-bio-8443-exec-2] DEBUG GrouperUiFilter.remoteUser(636) -  - httpServletRequest.getRemoteUser(): null, $REMOTE_USER header: null, REMOTE_USER attribute: null, session.getAttribute(authUser): null, remoteUser overall: null

I’ve confirmed that the CAS client is in fact returning REMOTE_USER with correct user id. I modified the index.jsp within the grouper UI to display it, so I know grouper is seeing it. Yet, I get the error message:

You have an anonymous session since you are not logged in, but this section requires you to be logged in. Maybe No username found. Your identity provider might not be sending your username to this application. Either you need to use a different identity provider, or ask your IT department to send your username to this application.

Thanks in advance for any insights you may have.

Cheers,
Jeff



Archive powered by MHonArc 2.6.19.

Top of Page