Lines Matching refs:ldapProperties

17       $scope.ldapProperties = {};
78 $scope.ldapProperties = results[0];
95 const enabledServiceType = $scope.ldapProperties.EnabledServiceType;
97 createLdapEnableRequest(enabledServiceType, $scope.ldapProperties);
139 if (!$scope.ldapProperties.ServiceEnabled &&
141 $scope.ldapProperties.EnabledServiceType = '';
186 function getEnabledServiceType(ldapProperties) { argument
188 if (ldapProperties.LDAP.ServiceEnabled) {
190 } else if (ldapProperties.ActiveDirectory.ServiceEnabled) {
201 function getServiceAddresses(ldapProperties) { argument
203 let serviceType = getEnabledServiceType(ldapProperties);
205 serviceAddresses = ldapProperties[serviceType]['ServiceAddresses'];
215 function getUseSsl(ldapProperties) { argument
217 let serviceType = getEnabledServiceType(ldapProperties);
219 const uri = ldapProperties[serviceType]['ServiceAddresses'][0];
230 function getUsername(ldapProperties) { argument
232 let serviceType = getEnabledServiceType(ldapProperties);
234 username = ldapProperties[serviceType]['Authentication']['Username'];
244 function getBaseDistinguishedNames(ldapProperties) { argument
246 let serviceType = getEnabledServiceType(ldapProperties);
249ldapProperties[serviceType]['LDAPService']['SearchSettings']['BaseDistinguishedNames'];
259 function getGroupsAttribute(ldapProperties) { argument
261 let serviceType = getEnabledServiceType(ldapProperties);
264 ldapProperties[serviceType]['LDAPService']['SearchSettings']['GroupsAttribute'];
274 function getUsernameAttribute(ldapProperties) { argument
276 let serviceType = getEnabledServiceType(ldapProperties);
279 ldapProperties[serviceType]['LDAPService']['SearchSettings']['UsernameAttribute'];
289 function getRoleGroups(ldapProperties) { argument
291 let serviceType = getEnabledServiceType(ldapProperties);
293 roleGroups = ldapProperties[serviceType]['RemoteRoleMapping'];
303 function createLdapEnableRequest(serviceType, ldapProperties) { argument
307 Username: ldapProperties.Username,
308 Password: ldapProperties.Password
312 BaseDistinguishedNames: ldapProperties.BaseDistinguishedNames,
313 GroupsAttribute: ldapProperties.GroupsAttribute,
314 UsernameAttribute: ldapProperties.UsernameAttribute
317 const ServiceAddresses = ldapProperties.ServiceAddresses;