public abstract class BaseWildflyCLIManager extends Object
Base class for JBoss Wildfly security management that uses the administration Java API for managing the command line interface.
Based on JBoss Wildfly administration API & Util classes.
Modifier and Type | Field and Description |
---|---|
protected String |
adminPassword |
protected String |
adminUser |
protected static String |
DEFAULT_ADMIN_PASSWORD |
protected static String |
DEFAULT_ADMIN_USER |
protected static String |
DEFAULT_HOST |
protected static int |
DEFAULT_PORT |
protected static String |
DEFAULT_REALM |
protected String |
host |
protected int |
port |
protected String |
realm |
Constructor and Description |
---|
BaseWildflyCLIManager() |
Modifier and Type | Method and Description |
---|---|
org.jboss.as.controller.client.ModelControllerClient |
getClient() |
protected String |
getPropertiesFilePath(String context) |
protected static boolean |
isConfigPropertySet(ConfigProperties.ConfigProperty property) |
protected static boolean |
isEmpty(String s) |
protected void |
loadConfig(ConfigProperties config) |
protected static final String DEFAULT_HOST
protected static final int DEFAULT_PORT
protected static final String DEFAULT_ADMIN_USER
protected static final String DEFAULT_ADMIN_PASSWORD
protected static final String DEFAULT_REALM
protected String host
protected int port
protected String adminUser
protected String adminPassword
protected String realm
protected static boolean isConfigPropertySet(ConfigProperties.ConfigProperty property)
protected static boolean isEmpty(String s)
protected void loadConfig(ConfigProperties config)
public org.jboss.as.controller.client.ModelControllerClient getClient() throws Exception
Exception
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.