protected function createProfileFromAdapterProfile($adapter_profile, $user)
	{
		$ProfileModel = $this->config['db']['profilemodel'];
		$attributes['provider'] = $this->provider;

		// @todo use config value for foreign key name
		$attributes['user_id'] = $user->id;

		$profile = new $ProfileModel($attributes);
		$profile = $this->applyAdapterProfileToExistingProfile($adapter_profile, $profile);

		return $profile;
	}