Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Using "/" in Stem names

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Using "/" in Stem names


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Keith Hirata <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Using "/" in Stem names
  • Date: Tue, 19 Nov 2013 17:52:50 +0000
  • Accept-language: en-US

In our env at penn we don’t allow those chars:

 

group.attribute.validator.attributeName.0=name

group.attribute.validator.regex.0=^[a-zA-Z0-9_:.-]+$

group.attribute.validator.vetoMessage.0=Group ID or ID Path is invalid since it must contain only alpha-numerics, underscore, colon, dot, or dash

 

I opened a bug for this that we can look at at some point:

 

https://bugs.internet2.edu/jira/browse/GRP-946

 

Anyways, in the meantime, which operation are you calling?  Can you put the request info in the body and not in the URL?  J  Maybe this will work, not sure.. (note, if you are using xml, you can use that instead)

 

http://anonsvn.internet2.edu/viewvc/viewvc.py/i2mi/branches/GROUPER_2_1_BRANCH/grouper-ws/grouper-ws/doc/samples/addMember/

 

POST /grouper-ws/servicesRest/v2_1_001 HTTP/1.1

Connection: close

Authorization: Basic xxxxxxxxxxxxxxxxx==

User-Agent: Jakarta Commons-HttpClient/3.1

Host: localhost:8092

Content-Length: 115

Content-Type: text/x-json; charset=UTF-8

 

{

  "WsRestAddMemberLiteRequest":{

    "actAsSubjectId":"GrouperSystem",

    "groupName":"aS/tem:aGroup",

    "subjectId":"10021368"

  }

}

 

Thanks,

chris

 

From: Keith Hirata [mailto:]
Sent: Monday, November 18, 2013 2:27 PM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] Using "/" in Stem names

 

I have attempted to encode the slash (eg "stem1:stem2w%2Fslash:group"), but the result is the same.

 

Thanks,

Keith

 

On Fri, Nov 8, 2013 at 8:36 PM, Chris Hyzer <> wrote:

Can you try url encoding it?

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Keith Hirata
Sent: Friday, November 08, 2013 5:33 PM
To:
Subject: [grouper-users] Using "/" in Stem names

 

I have discovered that while Stem names with / in them (eg "stem1:stem2w/slash:group") can be created successfully, I am unable to add a person as a member of the group.  The HTTP response indicates it is bad request for WsRestAddMemberRequest.  Has this happened to anyone else?  If so, what were the workarounds?

 

Thanks,

Keith


--
Keith Hirata
IT Specialist, Identity & Access Management
Information Technology Services
Phone: 808-956-6491 (GMT -10:00)



 

--
Keith Hirata
IT Specialist, Identity & Access Management
Information Technology Services
Phone: 808-956-6491 (GMT -10:00)




Archive powered by MHonArc 2.6.16.

Top of Page