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
This commit is contained in:
Olivier Lamy 2013-02-13 10:31:44 +00:00
parent 114eb24636
commit 2f2aa2fb77
2 changed files with 11 additions and 0 deletions

View File

@ -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)});
}

View File

@ -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">