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

@param propertiesResource the Resource that is a properties file that contains the users
@return the UserDetailsResourceFactoryBean
Create a UserDetailsResourceFactoryBean with a Resource that is a Properties file in the format defined in { @link UserDetailsResourceFactoryBean } .