grouper-users - RE: [grouper-users] SSO integration - grouper 2.3.0
Subject: Grouper Users - Open Discussion List
List archive
- From: "Singley, Norman" <>
- To: Travis Schmidt <>, "Hyzer, Chris" <>, Jeff McCullough <>
- Cc: Gouper Users List <>
- Subject: RE: [grouper-users] SSO integration - grouper 2.3.0
- Date: Wed, 28 Sep 2016 21:08:02 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:BYCKfBVNWEVHpmLyeC6u3qYP5ajV8LGtZVwlr6E/grcLSJyIuqrYZh2Ct8tkgFKBZ4jH8fUM07OQ6P+wHzFbqs/c+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3HUNPK+/0Ao/fidisn6D3osWLIlYAuD3oXal7MhSt5T7atswXjZcqfrorwwXIuT1TcORTxG90DV2Wlhf4oMy3+cgnu25wquAs7YoIeqXgfr9yBehdBzQ3IW0vzMzwvl/eVQaJ4D0RXnhA1lJqDgbLpDTxdYr1tiznueo1jCuXM8PzRpg+VC6h4qNmWVnlhDpRZBAj92SCwPdxiq1frQPl7zp42YvdZsvdYNx5ZKbUe5UhRGxOWstAfylaBcWhapdJAuYca7UL57LhrkcD+EPtTTKnA/nin3oR3if7
Thanks Travis. I did have BASIC still in there, so I removed it from: ./grouper/grouper.ui-2.3.0/webapp/WEB-INF/web.core.xml ./grouper/grouper.ui-2.3.0/dist/grouper/WEB-INF/web.core.xml Attached is the web.core.xml file that is in place.
I still get the access to the requested resource has been denied error. message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Norman Singley Directory Services 406 243 6799 From: Travis Schmidt [mailto:]
If you still have the BASIC auth removed from the web.core.xml, try putting it back in. I have that set still in my app and that might be the link that sets the REMOTE_USER to a place Grouper is looking for it. On Wed, Sep 28, 2016 at 10:46 AM Singley, Norman <> wrote:
|
<web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<!--<filter>
<filter-name>Error Catcher</filter-name>
<filter-class>edu.internet2.middleware.grouper.ui.ErrorFilter</filter-class>
</filter>-->
<filter>
<filter-name>Login check</filter-name>
<filter-class>edu.internet2.middleware.grouper.ui.LoginCheckFilter</filter-class>
<init-param>
<param-name>failureUrl</param-name>
<param-value>/index.jsp</param-value>
</init-param>
<init-param>
<param-name>ignore</param-name>
<param-value>:/populateIndex.do:/callLogin.do:/error.do:/logout.do:/status:</param-value>
</init-param>
<init-param>
<param-name>grouperRole</param-name>
<param-value>@grouper.role@</param-value>
</init-param>
</filter>
<filter>
<filter-name>Caller page</filter-name>
<filter-class>edu.internet2.middleware.grouper.ui.CallerPageFilter</filter-class>
</filter><!--
<filter-mapping>
<filter-name>Error Catcher</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Error Catcher</filter-name>
<url-pattern>/gotoCallerPage</url-pattern>
</filter-mapping>-->
<filter-mapping>
<filter-name>Caller page</filter-name>
<url-pattern>/gotoCallerPage</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Login check</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<listener>
<listener-class>edu.internet2.middleware.grouper.ui.GrouperSessionAttributeListener</listener-class>
</listener>
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardServletContextListener</listener-class>
</listener>
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardHttpSessionListener</listener-class>
</listener>
<servlet>
<servlet-name>OwaspJavaScriptServlet</servlet-name>
<servlet-class>org.owasp.csrfguard.servlet.JavaScriptServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>OwaspJavaScriptServlet</servlet-name>
<url-pattern>/grouperExternal/public/OwaspJavaScriptServlet</url-pattern>
</servlet-mapping>
<filter>
<filter-name>CSRFGuard</filter-name>
<filter-class>org.owasp.csrfguard.CsrfGuardFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CSRFGuard</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>Tomcat login</web-resource-name>
<url-pattern>/login.do</url-pattern>
</web-resource-collection>
<auth-constraint>
<!-- NOTE: This role is not present in the default users file -->
<role-name>@grouper.role@</role-name>
</auth-constraint>
</security-constraint>
<!-- Define the Login Configuration for this Application -->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Grouper Application</realm-name>
</login-config>
<!-- Security roles referenced by this web application -->
<security-role>
<description>
The role that is required to log in to the Grouper UI
</description>
<role-name>@grouper.role@</role-name>
</security-role>
</web-app>016-09-28 14:49:54,668: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: g:gsa
2016-09-28 14:49:54,668: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: g:gsa
2016-09-28 14:49:54,670: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: g:isa
2016-09-28 14:49:54,670: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: g:isa
2016-09-28 14:49:54,714: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: grouperExternal
2016-09-28 14:49:54,714: [main] DEBUG SourceManager.loadSource(331) - -
Loading source: grouperExternal
2016-09-28 14:49:54,715: [main] DEBUG JDBCSourceAdapter2.setupDataSource(620)
- - Initializing connection factory.
2016-09-28 14:49:54,715: [main] DEBUG JDBCSourceAdapter2.setupDataSource(620)
- - Initializing connection factory.
2016-09-28 14:49:54,715: [main] INFO JDBCSourceAdapter2.setupDataSource(652)
- - Data Source initialized.
2016-09-28 14:49:54,715: [main] INFO JDBCSourceAdapter2.setupDataSource(652)
- - Data Source initialized.
2016-09-28 14:50:27,278: [main] ERROR
GrouperCheckConfig.checkGrouperVersion(1256) - - grouper versions do not
match, GrouperVersion.class: 2.3.0, grouper.version.properties: 2.3.0,
manifest: null
2016-09-28 14:50:27,691: [main] INFO EventLog.info(156) - -
[a0a663cedc9e4112850bdf133b5afda3,'GrouperSystem','application'] session:
start (271ms)
2016-09-28 14:50:27,814: [main] INFO EventLog.info(156) - -
[2e81467a7bfb4bae858899209fcedb94,'GrouperSystem','application'] session:
start (2ms)
2016-09-28 14:50:27,824: [main] INFO EventLog.info(156) - -
[bd21b46b2aeb4cf0be58ab3ce891cfaa,'GrouperSystem','application'] session:
start (8ms)
2016-09-28 14:50:29,082: [main] INFO EventLog.info(156) - -
[f00354a995d743b1a4099bc253b18e4c,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 14:50:29,139: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType: searchSubject,
filter: (& (umid=grouperTestSubjectByIdOnStartupASDFGHJ)
(objectclass=EduPerson))
2016-09-28 14:50:29,139: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType: searchSubject,
filter: (& (umid=grouperTestSubjectByIdOnStartupASDFGHJ)
(objectclass=EduPerson))
2016-09-28 14:50:29,251: [main] DEBUG LdapSourceAdapter.getLdapUnique(862) -
- method: getLdapUnique, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (umid=%TERM%) (objectclass=EduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubject], searchValue:
grouperTestSubjectByIdOnStartupASDFGHJ, attributeNames: Array size: 8: [0]: cn
[1]: uid
[2]: cn
[3]: cn
[4]: sn
[5]: uid
[6]: department
[7]: umid
2016-09-28 14:50:29,251: [main] DEBUG LdapSourceAdapter.getLdapUnique(862) -
- method: getLdapUnique, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (umid=%TERM%) (objectclass=EduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubject], searchValue:
grouperTestSubjectByIdOnStartupASDFGHJ, attributeNames: Array size: 8: [0]: cn
[1]: uid
[2]: cn
[3]: cn
[4]: sn
[5]: uid
[6]: department
[7]: umid
2016-09-28 14:50:29,251: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType:
searchSubjectByIdentifier, filter: (&
(uid=grouperTestSubjectByIdentifierOnStartupASDFGHJ) (objectclass=eduPerson))
2016-09-28 14:50:29,251: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType:
searchSubjectByIdentifier, filter: (&
(uid=grouperTestSubjectByIdentifierOnStartupASDFGHJ) (objectclass=eduPerson))
2016-09-28 14:50:29,358: [main] DEBUG LdapSourceAdapter.getLdapUnique(862) -
- method: getLdapUnique, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (uid=%TERM%) (objectclass=eduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubjectByIdentifier], searchValue:
grouperTestSubjectByIdentifierOnStartupASDFGHJ, attributeNames: Array size:
8: [0]: cn
[1]: uid
[2]: cn
[3]: cn
[4]: sn
[5]: uid
[6]: department
[7]: umid
2016-09-28 14:50:29,358: [main] DEBUG LdapSourceAdapter.getLdapUnique(862) -
- method: getLdapUnique, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (uid=%TERM%) (objectclass=eduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubjectByIdentifier], searchValue:
grouperTestSubjectByIdentifierOnStartupASDFGHJ, attributeNames: Array size:
8: [0]: cn
[1]: uid
[2]: cn
[3]: cn
[4]: sn
[5]: uid
[6]: department
[7]: umid
2016-09-28 14:50:29,359: [main] DEBUG
LdapSourceAdapter.getSubjectByIdentifier(460) - - method:
getSubjectByIdentifier, id: grouperTestSubjectByIdentifierOnStartupASDFGHJ,
exceptionIfNull: false, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (uid=%TERM%) (objectclass=eduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubjectByIdentifier]
2016-09-28 14:50:29,359: [main] DEBUG
LdapSourceAdapter.getSubjectByIdentifier(460) - - method:
getSubjectByIdentifier, id: grouperTestSubjectByIdentifierOnStartupASDFGHJ,
exceptionIfNull: false, search: Search [params=scope: SUBTREE_SCOPE, filter:
(& (uid=%TERM%) (objectclass=eduPerson)), base: ou=people,dc=umt,dc=edu,
searchType=searchSubjectByIdentifier]
2016-09-28 14:50:29,362: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType: search, filter:
(&
(|(|(uid=grouperTestStringOnStartupASDFGHJ)(cn=*grouperTestStringOnStartupASDFGHJ*))(umid=grouperTestStringOnStartupASDFGHJ))(objectclass=eduPerson))
2016-09-28 14:50:29,362: [main] DEBUG
LdapSourceAdapter.getLdapResultsHelper(740) - - searchType: search, filter:
(&
(|(|(uid=grouperTestStringOnStartupASDFGHJ)(cn=*grouperTestStringOnStartupASDFGHJ*))(umid=grouperTestStringOnStartupASDFGHJ))(objectclass=eduPerson))
2016-09-28 14:50:29,468: [main] DEBUG LdapSourceAdapter.searchHelper(537) -
- set has 0 subjects
2016-09-28 14:50:29,468: [main] DEBUG LdapSourceAdapter.searchHelper(537) -
- set has 0 subjects
2016-09-28 14:50:29,561: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where uuid in (?), ArrayList size: 1: [0]:
grouperTestSubjectByIdOnStartupASDFGHJ
2016-09-28 14:50:29,561: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where uuid in (?), ArrayList size: 1: [0]:
grouperTestSubjectByIdOnStartupASDFGHJ
2016-09-28 14:50:29,563: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where ( identifier = ? ) , ArrayList size: 1: [0]:
grouperTestSubjectByIdentifierOnStartupASDFGHJ
2016-09-28 14:50:29,563: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where ( identifier = ? ) , ArrayList size: 1: [0]:
grouperTestSubjectByIdentifierOnStartupASDFGHJ
2016-09-28 14:50:29,575: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where search_string_lower like ?, ArrayList size: 1: [0]:
%grouperteststringonstartupasdfghj%
2016-09-28 14:50:29,575: [main] DEBUG JDBCSourceAdapter2.search(1025) - -
Query returned 0, select
uuid,name,description,search_string_lower,identifier,institution,email from
grouper_ext_subj_v where search_string_lower like ?, ArrayList size: 1: [0]:
%grouperteststringonstartupasdfghj%
2016-09-28 14:50:29,603: [main] INFO EventLog.info(156) - -
[9d4be2e3e07048bba9a21fec6b4ee2b2,'GrouperSystem','application'] session:
start (2ms)
2016-09-28 14:50:29,624: [main] INFO EventLog.info(156) - -
[419410cd803b4bf08a81f08cc71980ea,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 14:50:29,628: [main] INFO EventLog.info(156) - -
[6466b2bbe8aa47b7a6540d530a2fd8b4,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 14:50:29,632: [main] INFO EventLog.info(156) - -
[37d13cf3b8e14dc78d522e847a47ad5b,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 14:50:29,812: [main] INFO EventLog.info(156) - -
[6466b2bbe8aa47b7a6540d530a2fd8b4,'GrouperSystem','application'] add group
type: 'grouperLoader' (182ms)
2016-09-28 14:50:30,923: [http-8080-1] INFO EventLog.info(156) - -
[6a3d471a11574b6199e4b806da78d692,'GrouperSystem','application'] session:
start (21ms)
2016-09-28 14:50:31,213: [http-8080-1] INFO EventLog.info(156) - -
[30a084b1f41940168fe6d9b651de66f6,'GrouperSystem','application'] session:
start (2ms)
2016-09-28 14:50:31,879: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
2016-09-28 14:50:31,894: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
2016-09-28 15:01:17,840: [http-8080-1] INFO EventLog.info(156) - -
[9a60689c69a24299bd237e4d17be66aa,'GrouperSystem','application'] session:
start (5ms)
2016-09-28 15:01:17,999: [http-8080-1] INFO EventLog.info(156) - -
[8f1c70064f9c45a28493ecbfc057c046,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 15:01:18,065: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
2016-09-28 15:01:18,066: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
2016-09-28 15:02:11,963: [http-8080-1] INFO EventLog.info(156) - -
[aad854d0574941939a8b48c32919b0bf,'GrouperSystem','application'] session:
start (5ms)
2016-09-28 15:02:12,068: [http-8080-1] INFO EventLog.info(156) - -
[9bc295f768e749edaaeb202f0bf03800,'GrouperSystem','application'] session:
start (1ms)
2016-09-28 15:02:12,135: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
2016-09-28 15:02:12,135: [http-8080-1] DEBUG GrouperUiFilter.remoteUser(638)
- - httpServletRequest.getRemoteUser(): null, REMOTE_USER attribute: null,
session.getAttribute(authUser): null, remoteUser overall: null
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/22/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Hyzer, Chris, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Hyzer, Chris, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Hyzer, Chris, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/23/2016
- Re: [grouper-users] SSO integration - grouper 2.3.0, Travis Schmidt, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/28/2016
- Re: [grouper-users] SSO integration - grouper 2.3.0, Travis Schmidt, 09/28/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/28/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/28/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/28/2016
- Re: [grouper-users] SSO integration - grouper 2.3.0, Travis Schmidt, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Singley, Norman, 09/23/2016
- RE: [grouper-users] SSO integration - grouper 2.3.0, Hyzer, Chris, 09/23/2016
Archive powered by MHonArc 2.6.19.