aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js2
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html9
2 files changed, 11 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
index efb9531fa..6f2ab26f7 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/general-admin.js
@@ -1343,6 +1343,8 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
this.useRoleNameAsGroup.subscribe(function(newValue){self.modified(true)});
//bindAuthenticatorEnabled
+ this.bindAuthenticatorEnabled=ko.observable(bindAuthenticatorEnabled);
+ this.bindAuthenticatorEnabled.subscribe(function(newValue){self.modified(true)});
}
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html
index 680ca8cfe..d5fba1040 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/general-admin.html
@@ -1079,6 +1079,15 @@
data-bind="checked: redbackRuntimeConfiguration().ldapConfiguration().useRoleNameAsGroup"/>
</div>
</div>
+ <div class="control-group">
+ <label for="ldap-bindAuthenticatorEnabled" class="control-label">
+ ${$.i18n.prop('redback.runtime.ldap.bindAuthenticatorEnabled.label')}
+ </label>
+ <div class="controls">
+ <input type="checkbox" id="ldap-bindAuthenticatorEnabled" name="ldap-bindAuthenticatorEnabled"
+ data-bind="checked: redbackRuntimeConfiguration().ldapConfiguration().bindAuthenticatorEnabled"/>
+ </div>
+ </div>
<div class="control-group">
<label for="ldapPassword" class="control-label">