mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix codestyle/formatting within plugins/userauthenticators/ldap
This commit is contained in:
parent
917ea33ba9
commit
31758ed8d0
@ -105,7 +105,8 @@ public class LdapConfiguration {
|
||||
|
||||
public String[] getReturnAttributes() {
|
||||
return new String[] { getUsernameAttribute(), getEmailAttribute(),
|
||||
getFirstnameAttribute(), getLastnameAttribute(), getCommonNameAttribute() };
|
||||
getFirstnameAttribute(), getLastnameAttribute(), getCommonNameAttribute()
|
||||
};
|
||||
}
|
||||
|
||||
public int getScope() {
|
||||
|
||||
@ -137,7 +137,7 @@ public class LdapUserManager {
|
||||
String attributeName = _ldapConfiguration.getGroupUniqueMemeberAttribute();
|
||||
final SearchControls controls = new SearchControls();
|
||||
controls.setSearchScope(_ldapConfiguration.getScope());
|
||||
controls.setReturningAttributes(new String[]{attributeName});
|
||||
controls.setReturningAttributes(new String[] {attributeName});
|
||||
|
||||
NamingEnumeration<SearchResult> result = context.search(_ldapConfiguration.getBaseDn(), generateGroupSearchFilter(groupName), controls);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user