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

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