On 15/01/2013 13:26, Denis Signoretto wrote:
Hi,
I was trying to update default console password. I was able to update it just modifing the
"adminMD5Password" property value in
syncope/WEB-INF/classes/security.properties file.
I was looking for documentation and at the moment it'seams there is not a procedure described.
I would like to open a issuse to update [1] and [2].
This sounds really nice: please fill the new page I've created for this
[4] and reference it from wherever it is necessary ([1] and [2] for sure
but probably more). Consider also that the property name and format is
different in 1_0_X and trunk, as you can derive from [5] and [6].
Let me know if you have troubles with permissions.
Following the same approach used in [3] (to setup AES encryption key),
I think it should be a valid improvement letting the user to choose the initial
admin console password in archetype generation as well.
Unfortunately I wasn't able to find a way to perform some tasks during
archetype:generate but only to provide some (cleartext) properties: this
is not applicable at all for admin password, hence we have to keep it as
post-generation task.
Regards.
[1] -
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-Testyourinstallation
[2] -
https://cwiki.apache.org/confluence/display/SYNCOPE/Using+administration+console
[3] - https://issues.apache.org/jira/browse/SYNCOPE-269
[4] https://cwiki.apache.org/confluence/display/SYNCOPE/Set+admin+password
[5]
https://svn.apache.org/repos/asf/syncope/branches/1_0_X/core/src/main/resources/security.properties
[6]
https://svn.apache.org/repos/asf/syncope/trunk/core/src/main/resources/security.properties
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/