jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-4172) Expose 'omitAdminPw' configuration
Date Wed, 20 Jul 2016 13:35:20 GMT

     [ https://issues.apache.org/jira/browse/OAK-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

angela updated OAK-4172:
------------------------
    Summary: Expose 'omitAdminPw' configuration  (was: Expose 'omitAdminPw' configuraton)

> 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)

Mime
View raw message