You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by an...@apache.org on 2016/07/20 13:34:23 UTC
svn commit: r1753507 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java
Author: angela
Date: Wed Jul 20 13:34:23 2016
New Revision: 1753507
URL: http://svn.apache.org/viewvc?rev=1753507&view=rev
Log:
OAK-4172 : Expose 'omitAdminPw' configuration
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java?rev=1753507&r1=1753506&r2=1753507&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserConfigurationImpl.java Wed Jul 20 13:34:23 2016
@@ -95,6 +95,10 @@ import org.apache.jackrabbit.oak.spi.xml
label = "Hash Salt Size",
description = "Salt size to generate the password hash.",
intValue = PasswordUtil.DEFAULT_SALT_SIZE),
+ @Property(name = UserConstants.PARAM_OMIT_ADMIN_PW,
+ label = "Omit Admin Password",
+ description = "Boolean flag to prevent the administrator account to be created with a password upon repository initialization. Please note that changing this option after the initial repository setup will have no effect.",
+ boolValue = false),
@Property(name = UserConstants.PARAM_SUPPORT_AUTOSAVE,
label = "Autosave Support",
description = "Configuration option to enable autosave behavior. Note: this config option is present for backwards compatibility with Jackrabbit 2.x and should only be used for broken code that doesn't properly verify the autosave behavior (see Jackrabbit API). If this option is turned on autosave will be enabled by default; otherwise autosave is not supported.",