aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-02-13 10:31:44 +0000
committerOlivier Lamy <olamy@apache.org>2013-02-13 10:31:44 +0000
commit2f2aa2fb77118930d315e34bbd88579d01891b12 (patch)
treea33bfed04dca8caec809d8bf0b80d4e6ba105802 /archiva-modules
parent114eb24636a5a949b193b4975cd5d676346e6bcb (diff)
downloadarchiva-2f2aa2fb77118930d315e34bbd88579d01891b12.tar.gz
archiva-2f2aa2fb77118930d315e34bbd88579d01891b12.zip
modify ldap bind authenticator enabled with the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445545 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-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">