class DbConfig {
	
    @Inject Environment env;

    @Bean
    public DbCredentials dbCredentials() {<FILL_FUNCTION_BODY>}

}

    	DbCredentials dbCredentials = new DbCredentials();
    	dbCredentials.setUserName(env.getProperty("user"));
    	dbCredentials.setPassword(env.getProperty("password"));
        return dbCredentials;
    
<no_super_class>