Class UserAccountsYamlConfigurator
- java.lang.Object
-
- org.codehaus.cargo.container.wildfly.swarm.internal.configuration.AbstractConfigurator
-
- org.codehaus.cargo.container.wildfly.swarm.internal.configuration.yaml.UserAccountsYamlConfigurator
-
- All Implemented Interfaces:
UserAccountsConfigurator
public class UserAccountsYamlConfigurator extends AbstractConfigurator implements UserAccountsConfigurator
User accounts configurator writing configuration to yaml.
-
-
Constructor Summary
Constructors Constructor Description UserAccountsYamlConfigurator(ConfigurationContext configurationContext, com.fasterxml.jackson.dataformat.yaml.YAMLGenerator yamlGenerator)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureApplicationUsers(List<User> users)
Configures user accounts and roles.-
Methods inherited from class org.codehaus.cargo.container.wildfly.swarm.internal.configuration.AbstractConfigurator
getConfigurationContext
-
-
-
-
Constructor Detail
-
UserAccountsYamlConfigurator
public UserAccountsYamlConfigurator(ConfigurationContext configurationContext, com.fasterxml.jackson.dataformat.yaml.YAMLGenerator yamlGenerator)
Constructor.- Parameters:
configurationContext
- configuration context.yamlGenerator
- yaml generator instance.
-
-
Method Detail
-
configureApplicationUsers
public void configureApplicationUsers(List<User> users)
Configures user accounts and roles.- Specified by:
configureApplicationUsers
in interfaceUserAccountsConfigurator
- Parameters:
users
- list of users with roles to create.
-
-