You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2016/07/20 13:35:20 UTC
[jira] [Resolved] (OAK-4172) Expose 'omitAdminPw' configuration
[ https://issues.apache.org/jira/browse/OAK-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela resolved OAK-4172.
-------------------------
Resolution: Fixed
Fix Version/s: 1.5.6
Committed revision 1753507.
> Expose 'omitAdminPw' configuration
> ----------------------------------
>
> Key: OAK-4172
> URL: https://issues.apache.org/jira/browse/OAK-4172
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Antonio Sanso
> Assignee: angela
> Fix For: 1.5.6
>
>
> There is an 'omitAdminPw' switch that is used to initialize the Admin user without a password
> {code}
> if (userManager.getAuthorizable(adminId) == null) {
> boolean omitPw = params.getConfigValue(PARAM_OMIT_ADMIN_PW, false);
> userManager.createUser(adminId, (omitPw) ? null : adminId);
> }
> {code}
> it would be nice to expose such a configuration in order to be able to use this switch
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)