config/src/main/java/org/springframework/security/config/core/userdetails/UserDetailsResourceFactoryBean.java
public static UserDetailsResourceFactoryBean fromResourceLocation(String resourceLocation) {
		UserDetailsResourceFactoryBean result = new UserDetailsResourceFactoryBean();
		result.setResourceLocation(resourceLocation);
		return result;
	}
public static UserDetailsResourceFactoryBean fromResourceLocation(String resourceLocation) {
		UserDetailsResourceFactoryBean result = new UserDetailsResourceFactoryBean();
		result.setResourceLocation(resourceLocation);
		return result;
	}
Create a UserDetailsResourceFactoryBean with the location of a Resource that is a Properties file in the
format defined in {@link UserDetailsResourceFactoryBean}.

@param resourceLocation the location of the properties file that contains the users (i.e. "classpath:users.properties")
@return the UserDetailsResourceFactoryBean