grouper-users - RE: [grouper-users] Using "/" in Stem names
Subject: Grouper Users - Open Discussion List
List archive
- 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) 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:]
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 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
-- |
- [grouper-users] Using "/" in Stem names, Keith Hirata, 11/08/2013
- RE: [grouper-users] Using "/" in Stem names, Chris Hyzer, 11/09/2013
- Re: [grouper-users] Using "/" in Stem names, Keith Hirata, 11/18/2013
- RE: [grouper-users] Using "/" in Stem names, Chris Hyzer, 11/19/2013
- Re: [grouper-users] Using "/" in Stem names, Keith Hirata, 11/18/2013
- RE: [grouper-users] Using "/" in Stem names, Chris Hyzer, 11/09/2013
Archive powered by MHonArc 2.6.16.