Re: [Geoserver-users] Encrypted passowrd in create user REST API

2018-11-15 Thread mark

On 11/14/18 3:37 PM, Nanaso via Geoserver-users wrote:

Hi,
In Create User REST API, how can I pass the password not in plain-text?
Currently I'm using the following POST request to URL:
http://localhost:8080/geoserver/rest/security/usergroup/users/ 


With request body:
{
  "org.geoserver.rest.security.xml.JaxbUser":{
 "userName": "test",
 "password": "test",
 "enabled": true
  }
}

I don't want to pass the password in plain text, is there any solution?

use https so it is not transmitted plain text, afaik the password is 
encrypted by geoserver using a salt file unique to the geoserver 
instance and encryption on the server depends on the capabilities the 
jvm provides.


-M

___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Encrypted passowrd in create user REST API

2018-11-14 Thread Nanaso via Geoserver-users
Hi,
In Create User REST API, how can I pass the password not in plain-text?
Currently I'm using the following POST request to URL:
[http://localhost:8080/geoserver/rest/security/usergroup/users/](http://localhost:6256/geoserver/rest/security/usergroup/users/)
With request body:
{
  "org.geoserver.rest.security.xml.JaxbUser":{
 "userName": "test",
 "password": "test",
 "enabled": true
  }
}

I don't want to pass the password in plain text, is there any solution?

Regards,
Nanaso___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users