format code
This commit is contained in:
parent
1e5c5675a7
commit
694e1be55e
|
@ -76,10 +76,12 @@ public class LdapUserMapper
|
|||
userConf.getConcatenatedList( "ldap.config.base.dn", userBaseDn ) );
|
||||
userObjectClass =
|
||||
userConf.getString( UserConfigurationKeys.LDAP_MAPPER_USER_ATTRIBUTE_OBJECT_CLASS, userObjectClass );
|
||||
userFilter = userConf.getConcatenatedList( UserConfigurationKeys.LDAP_MAPPER_USER_ATTRIBUTE_FILTER, userFilter );
|
||||
userFilter =
|
||||
userConf.getConcatenatedList( UserConfigurationKeys.LDAP_MAPPER_USER_ATTRIBUTE_FILTER, userFilter );
|
||||
maxResultCount = userConf.getInt( UserConfigurationKeys.LDAP_MAX_RESULT_COUNT, maxResultCount );
|
||||
|
||||
distinguishedNameAttribute = userConf.getString( UserConfigurationKeys.LDAP_DN_ATTRIBUTE, distinguishedNameAttribute );
|
||||
distinguishedNameAttribute =
|
||||
userConf.getString( UserConfigurationKeys.LDAP_DN_ATTRIBUTE, distinguishedNameAttribute );
|
||||
}
|
||||
|
||||
public Attributes getCreationAttributes( User user, boolean encodePasswordIfChanged )
|
||||
|
@ -134,7 +136,8 @@ public class LdapUserMapper
|
|||
|
||||
public String[] getUserAttributeNames()
|
||||
{
|
||||
return new String[]{ emailAttribute, fullNameAttribute, passwordAttribute, userIdAttribute, distinguishedNameAttribute };
|
||||
return new String[]{ emailAttribute, fullNameAttribute, passwordAttribute, userIdAttribute,
|
||||
distinguishedNameAttribute };
|
||||
}
|
||||
|
||||
public int getMaxResultCount()
|
||||
|
@ -292,8 +295,8 @@ public class LdapUserMapper
|
|||
|
||||
public String[] getReturningAttributes()
|
||||
{
|
||||
return new String[]{ getUserIdAttribute(), getEmailAttribute(), getFullNameAttribute(),
|
||||
getPasswordAttribute(), getDistinguishedNameAttribute() };
|
||||
return new String[]{ getUserIdAttribute(), getEmailAttribute(), getFullNameAttribute(), getPasswordAttribute(),
|
||||
getDistinguishedNameAttribute() };
|
||||
}
|
||||
|
||||
public UserConfiguration getUserConf()
|
||||
|
|
Loading…
Reference in New Issue