|
Ben Wyss created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.12.0, 2.12.1 |
Assignee: |
Unassigned |
Components: |
REST |
Created: |
12/Dec/17 1:55 AM |
Environment: |
GeoServer running in a Docker |
Priority: |
|
Reporter: |
The usergroup API is working as expected when issuing a GET request like: I get {{com.thoughtworks.xstream.mapper.CannotResolveClassException: userName }} when issuing a POST to the same endpoint like this: {{curl -X POST http://admin:geoserver@anonymised.com…:8080/geoserver/rest/security/usergroup/users/ -H “content-type: application/json” -d " { "userName": "foo", "password": "bAr1@anonymised.com0…", "enabled": true} "}} I am getting the same result (GET is working and POST is not working) when trying to issue a new user using /rest/security/usergroup/service/myUserGroup/users/ I am getting the same results when I change the POST to use xml instead of json: Please also see the gis.stackexchange: https://gis.stackexchange.com/questions/256891/creating-new-geoserver-user-through-rest-api |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100074-sha1:3da8cec) |
|