Il 11/05/2017 17:09, Hugo Cerdeira ha scritto:
Hi,
When I create a User via the restfull api on syncope-core, I get the
following response:
"entity":
{
"@class":"org.apache.syncope.common.lib.to.UserTO",
"creator":"admin",
"creationDate":"2017-05-11T15:01:53.159+0000",
"lastModifier":"admin",
"lastChangeDate":"2017-05-11T15:01:53.159+0000",
"key":"d968db6d-4ab8-4716-a8db-6d4ab8c716b6",
"type":"USER",
"realm":"/ <chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo/>",
"status":"created",
"password":null,
..........irrelevant.......
but as you can see I get password= null, even tho I sent a password
when creating the user, any ideia on how i can get it to show on the
response?
By default syncope doesn't return the password. If you want to read the
password field you must set return.password.value (configuration
parameter) to true.
Regards
M
Thanks!
Hugo Cerdeira.
--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570
Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/