Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper 2.4 UI problem with Setting Attributes

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper 2.4 UI problem with Setting Attributes


Chronological Thread 
  • From: "Coleman, Erik C" <>
  • To: Brett Bieber <>, "" <>
  • Subject: [grouper-users] RE: Grouper 2.4 UI problem with Setting Attributes
  • Date: Mon, 26 Nov 2018 16:13:22 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:Rbqvgx/pTvrTUP9uRHKM819IXTAuvvDOBiVQ1KB+0+gfIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoITmvVsCsQeyCBOwCO/z1DNFgGL9060g0+QmFAHLxAIsEswJsHTQstr1Mb0dUeatwKLVwjvDdfJW2TTg44XWfBwqvPaBUqxsfsXN0kQvFgfFjlGRqYzjODOV1/8Nv3KF4OV9SOKikmgqoBx/rDiow8cjkIjJhoQNx1DF8SV5xIc1Jdu/SE56et6oCoVfuDyHN4duQsMiX31ouD4hyrIbuJ67ciYKx4o9xxHBbfyIb5aH7Qz9VOmPJzd4mHJleLWihxa98Uig1u38Wdep31ZNqypKiNjMtnYL1xPJ78iIVPV88V262TaT1wDc9PpELloxlaXFMZIhw6Uwm5wOukrABi/7gFv6gLOZe0k+/uWl5f7rbqv8qpKfL4N4lwXzPro0lsCiA+k0KAYDU3aB9eihyrHv5UP5T6tJg/Eql6TUtYvVKMcfq6GnBgJY0IUu5hK+Ajqj0tkUgGIILFxAdR+Gi4XkP17DLfblBvmlmVusii1kx/XeM73hHJrNKn/Dna/gfbZ5705cyQwzzdde55JPEL0OPu/8WlLpuNzZCB82LRC0zv75BNlh2Y4SQ2aCD6GDPK/Mq1OF5fojI+yWa48UvDb9JeIl5/nrjXIhh1ASYbWm0IAWaHC8GvRmIkOZYX3tgtcaC2sFoBcxTPHyhF2YTTFTf2qyX7475jwjB4KmF4DDRp21gLOfxie3B4BWZntYBVCWCnflbIGEW/YXaCKOOc9tjCYIVbmnS489yx6urgn6xKR7LubK4CEXq4/s1MUmr9HUwDso+CBoR+6c3muAVSkglHkFWyNw1qFyq0Fn4lGO27JxmP9RU9Ff+qUNGk01L5nB1+FgTs3pVxjaVtaPVFu8RNi6W3c8Qs97i4sBeUFgA9i4yw3Y0jCxK74Ti7GRApEoqOTR02WndOhnzHOTnoImi1QjS80LfUC8h6033EKbU4PCmG2Yk6Krc6Mdx2jA+HrVnjnGh11RTAMlCfaNZnsYfEaD6I2hvk4=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

To follow up on this, Chris Hubing helped me resolve it. It turns out this is due to the fact that we terminate the SSL at the load balancer, and not the Grouper container. Therefore, we had to modify our Tomcat server.xml and replace our Connector stanza for AJP to deal with that by deleting redirectPort=8443 and add secure=“true” scheme=“https” and then it worked.  For some reason, 99% of the UI didn’t complain about this, but the particular routines related to attributes were causing some sort of “cross site scripting” scenario by using http instead of https URLs.

 

-Erik

 

 

From: <> On Behalf Of Brett Bieber
Sent: Tuesday, October 30, 2018 8:24 AM
To: Coleman, Erik C <>;
Subject: [grouper-users] Re: Grouper 2.4 UI problem with Setting Attributes

 

Hi Erik,

We're doing the same here at Nebraska and not having any issues, so I don't think it's a UI bug. I can't tell in the first screenshot if you were accessing the site securely or not, but I noticed the error message indicated an http vs https difference even though the domain name was the same. Is it possible you were accessing the site via an insecure URL and the config is set to https? We've got ours configured to redirect any requests to http:// to https:// at the load balancer. Hope that helps.

-Brett


From: <> on behalf of Coleman, Erik C <>
Sent: Monday, October 29, 2018 6:09:00 PM
To:
Subject: [grouper-users] Grouper 2.4 UI problem with Setting Attributes

 

I’m running into a snag with the new Grouper 2.4 (running from container tier/grouper:2.4.0-a2-u0-w0-p0).  I’m wanting to demonstrate how group owners can selectively choose to have their groups or folders sync to our AD via our PSPNG config. I select a group or folder and choose “More Actions” -> “Attribute Assignments” and assign an attribute, it seems to work, but then I get this strange error “ErrorType; LoadXML Description: Incorrect XML”:

 

 

Then if I click OK, then attempt to choose the action to assign a value to that attribute, I get a remarkably blank screen:

 

 

The only interesting log entries I am seeing is this:

 

grouper-api;grouper_error.log;as-aws-test-dev2;aws-poc;2018-10-29 18:05:26,238: [ajp-nio-8009-exec-3] ERROR CsrfGuardLogger.log(47) - - potential cross-site request forgery (CSRF) attack thwarted (user:ecc, ip:xxx.xxx.xxx.xxx, method:POST, uri:/grouper/grouperUi/app/UiV2GroupAttributeAssignment.assignmentMenuAddValue, error:request token does not match session token)

 

grouper-api;grouper_error.log;as-aws-test-dev2;aws-poc;2018-10-29 18:05:26,475: [ajp-nio-8009-exec-4] ERROR CsrfGuardLogger.log(47) - - Referer domain https://authman-test.techservices.illinois.edu/grouper/grouperUi/app/UiV2Main.index?operation=UiV2GroupAttributeAssignment.assignmentMenuAddValue&attributeAssignId=635adbb3af3b4c2fa54a8eafca18ee13&csrfExtraParam=xyz does not match request domain: http://authman-test.techservices.illinois.edu/grouper/grouperExternal/public/OwaspJavaScriptServlet

 

Is this a UI bug? Or possibly a sign I’ve got something corrupted somewhere?  It’s still pretty stock test environment otherwise.

 

Thanks,

 

Erik Coleman

University of Illinois at Urbana-Champaign

 




Archive powered by MHonArc 2.6.19.

Top of Page