ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java
protected DistinguishedName buildGroupDn(String group) {
		DistinguishedName dn = new DistinguishedName(groupSearchBase);
		dn.add(groupRoleAttributeName, group.toLowerCase());

		return dn;
	}
protected DistinguishedName buildGroupDn(String group) {
		DistinguishedName dn = new DistinguishedName(groupSearchBase);
		dn.add(groupRoleAttributeName, group.toLowerCase());

		return dn;
	}
Creates a DN from a group name.

@param group the name of the group
@return the DN of the corresponding group, including the groupSearchBase