code: @Api
  	public void setNamedRoles(Map<String, List<NamedRoleInfo>> namedRoles) {
  		this.namedRoles = namedRoles;
  		ldapRoleMapping = new HashMap<String, Set<String>>();
  		for (String roleName : namedRoles.keySet()) {
  			if (!ldapRoleMapping.containsKey(roleName)) {
  				ldapRoleMapping.put(roleName, new HashSet<String>());
  			}
  			for (NamedRoleInfo role : namedRoles.get(roleName)) {
  				ldapRoleMapping.get(roleName).add(role.getName());
  			}
  		}
  	}
docs: Set the named roles which may be defined.
  
  @param roles map with roles, keys are the values for {@link #rolesAttribute}, probably DN values
  @since 1.10.0