return userDto;
}
private PluginConfiguration createConfiguration(String url, String login, String password) {
PluginProperty urlProperty =
new PluginProperty("URL", STRING, url);
urlProperty.setName("Url");
PluginProperty loginProperty = new PluginProperty("LOGIN", STRING, login);
loginProperty.setName("Login");
PluginProperty passwordProperty = new PluginProperty("PASSWORD", STRING, password);
passwordProperty.setName("Password");
return new PluginConfiguration("Poulpe Auth Plugin", true,
Arrays.asList(urlProperty, loginProperty, passwordProperty));
}