Hi Francesco,

thanks a lot.

Nicola Baiocco | Software Developer

Intesys - Via Roveggia 122 A  - 37136 Verona
Tel. 045 503663 | Fax 045 503604
nicola.baio...@intesys.it
www.intesys.it

Le informazioni contenute nella presente e-mail e nei suoi allegati potrebbero 
essere confidenziali/riservate e sono dirette unicamente ai destinatari sopra 
indicati. In caso di ricezione da parte di persona diversa ? vietato qualunque 
tipo di divulgazione o copia anche parziale. Chi riceva questo messaggio per 
errore ? pregato di inoltrarlo al mittente e di cancellare questa e-mail.

This e-mail and its attachments may contain confidential/reserved information 
and is intended only for the use of the address(es) named above. If the reader 
of this message is not the intended recipient of this message, please note that 
distribution or copying of this communication is forbidden. Anyone who receives 
this communication in error should return it immediately to the sender and 
delete the message. 
-----Messaggio originale-----
Da: Francesco Chicchiriccò [mailto:ilgro...@apache.org] 
Inviato: venerdì 5 settembre 2014 08:30
A: dev@syncope.apache.org
Oggetto: Re: admin password update

On 04/09/2014 15:29, Nicola Baiocco wrote:
>
> Hi,
>
> Is there a way to update the admin password via rest services in 
> Syncope 1.1.8?
>

Hi Nicola,
nope: the only way to update admin password is as explained in

https://cwiki.apache.org/confluence/display/SYNCOPE/Set+administrator+credentials

> Could this feature be in next future roadmaps?
>

Hum, I am not sure: admin is not a real user (you won't find it in the internal 
storage) and is a sort of "last resort", more or less like as root user on *nix.

> Otherwise is there a way to create an user with the same roles and 
> capabilities of the default admin?
>

Almost: give all entitlements to a certain role, then assign an user to that 
role.
Now such user will be able to work as admin: only, you will need to keep such 
role up-to-date with other roles' entitlements (for the stock admin user this 
is performed automatically) - as explained in

https://cwiki.apache.org/confluence/display/SYNCOPE/Authentication+and+authorization

Alternatively, you'd need to change the logic in 
SyncopeUserDetailsService#loadUserByUsername to dynamically assign all 
available entitlements to a different user than admin.

HTH
Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC 
http://people.apache.org/~ilgrosso/

Reply via email to