}
- LdapConfiguration=function(hostName,port,ssl,baseDn,contextFactory,bindDn,password,authenticationMethod,
+ LdapConfiguration=function(hostName,port,ssl,baseDn,baseGroupsDn,contextFactory,bindDn,password,authenticationMethod,
extraPropertiesEntries){
var self=this;
this.baseDn=ko.observable(baseDn);
this.baseDn.subscribe(function(newValue){self.modified(true)});
+ //private String baseGroupsDn;
+ this.baseGroupsDn=ko.observable(baseGroupsDn);
+ this.baseGroupsDn.subscribe(function(newValue){self.modified(true)});
+
//private String contextFactory;
this.contextFactory=ko.observable(contextFactory);
this.contextFactory.subscribe(function(newValue){self.modified(true)});
extraPropertiesEntries=[];
}
$.log("mapLdapConfiguration done");
- return new LdapConfiguration(data.hostName,data.port,data.ssl,data.baseDn,data.contextFactory,data.bindDn,data.password,
+ return new LdapConfiguration(data.hostName,data.port,data.ssl,data.baseDn,data.baseGroupsDn,data.contextFactory,data.bindDn,data.password,
data.authenticationMethod,extraPropertiesEntries);
}
return null;
data-bind="value: redbackRuntimeConfiguration().ldapConfiguration().baseDn"/>
</div>
</div>
+ <div class="control-group">
+ <label for="baseGroupsDn" class="control-label">
+ ${$.i18n.prop('redback.runtime.ldap.baseGroupsDn.label')}
+ </label>
+ <div class="controls">
+ <input type="text" id="baseGroupsDn" name="baseGroupsDn" class="input-xxlarge"
+ data-bind="value: redbackRuntimeConfiguration().ldapConfiguration().baseGroupsDn"/>
+ </div>
+ </div>
+
<div class="control-group">
<label for="ldapBindDn" class="control-label">
${$.i18n.prop('redback.runtime.ldap.bindDn.label')}