@Deprecated public class JBoss7SshDriver extends JavaWebAppSshDriver implements JBoss7Driver
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CONFIG_FILE
Deprecated.  
  | 
static java.lang.String | 
KEYSTORE_FILE
Deprecated.  
  | 
static java.lang.String | 
MANAGEMENT_REALM
Deprecated.  
  | 
static java.lang.String | 
SERVER_TYPE
Deprecated.  
  | 
KEY_VAL_OPT_PREFIXES, log, MUTUALLY_EXCLUSIVE_OPTSCHECK_RUNNING, CUSTOMIZING, DEBUG, IGNORE_ENTITY_SSH_FLAGS, INSTALL_INCOMPLETE, INSTALLING, KILLING, LAUNCHING, logSsh, NON_STANDARD_LAYOUT, PID_FILENAME, PROCESS_OWNER, RESTARTING, STOPPING, USE_PID_FILE, VALID_FLAGS| Constructor and Description | 
|---|
JBoss7SshDriver(JBoss7ServerImpl entity,
               SshMachineLocation machine)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
customize()
Deprecated.  
AS7 config notes and TODOs:
 We're using the http management interface on port managementPort
 We're not using any JMX. 
 | 
JBoss7ServerImpl | 
getEntity()
Deprecated.  
The entity whose components we are controlling. 
 | 
java.lang.String | 
getSslKeystoreFile()
Deprecated.  
The path to the keystore file on the AS7 server machine. 
 | 
static java.lang.String | 
hashPassword(java.lang.String username,
            java.lang.String password,
            java.lang.String realm)
Deprecated.  
Creates a hash of a username, password and security realm that is suitable for use
 with AS7 and Wildfire. 
 | 
void | 
install()
Deprecated.  
Implementations should fail if the return code is non-zero, by throwing some appropriate exception. 
 | 
boolean | 
installJava()
Deprecated.  
Checks for Java 6 or 7, installing Java 7 if neither are found. 
 | 
boolean | 
isRunning()
Deprecated.  
Whether the entity components have started. 
 | 
void | 
kill()
Deprecated.  
Kills the process, ungracefully and immediately where possible (e.g. 
 | 
void | 
launch()
Deprecated.  
Implementations should fail if the return code is non-zero, by throwing some appropriate exception. 
 | 
void | 
prepare()
Deprecated.  
Prepare the entity instance before running any commands. 
 | 
void | 
stop()
Deprecated.  
Performs software stop (or queues tasks to do this) 
 | 
deploy, deploy, deploy, getEnabledProtocols, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, postLaunch, undeploycheckJavaHostnameBug, copyRuntimeResources, getJavaOpts, getJmxContext, getJmxPort, getRmiRegistryPort, getShellEnvironment, installJmxSupport, isJmxEnabled, isJmxSslEnabled, setupcheckNoHostnameBug, copyCustomizeResources, copyInstallResources, copyPreInstallResources, copyResource, copyResource, execute, execute, execute, getAddress, getHostname, getLocation, getMachine, getPortsUsed, getSubnetAddress, getSubnetHostname, runPostCustomizeCommand, runPostInstallCommand, runPostLaunchCommand, runPreCustomizeCommand, runPreInstallCommand, runPreLaunchCommandcopyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyResource, copyTemplate, copyTemplate, copyTemplate, getArchiveNameFormat, getExpandedInstallDir, getInstallDir, getResource, getResourceAsString, getRunDir, getVersion, preInstall, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, setExpandedInstallDir, startequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeploy, deploy, deploy, getEnabledProtocols, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, undeployisJmxEnabledrebind, restart, startgetLocationpublic static final java.lang.String SERVER_TYPE
public static final java.lang.String CONFIG_FILE
public static final java.lang.String KEYSTORE_FILE
public static final java.lang.String MANAGEMENT_REALM
public JBoss7SshDriver(JBoss7ServerImpl entity, SshMachineLocation machine)
public JBoss7ServerImpl getEntity()
SoftwareProcessDrivergetEntity in interface EntityDrivergetEntity in interface SoftwareProcessDrivergetEntity in class JavaWebAppSshDriverpublic java.lang.String getSslKeystoreFile()
JBoss7DrivergetSslKeystoreFile in interface JBoss7Driverpublic void prepare()
AbstractSoftwareProcessDriverAbstractSoftwareProcessDriver.start().prepare in class AbstractSoftwareProcessSshDriverpublic boolean installJava()
JavaSoftwareProcessSshDriverinstallJava in class JavaSoftwareProcessSshDriverJavaSoftwareProcessSshDriver.checkForAndInstallJava(String)public void install()
AbstractSoftwareProcessDriverinstall in class AbstractSoftwareProcessDriverpublic void customize()
customize in class AbstractSoftwareProcessDriverpublic void launch()
AbstractSoftwareProcessDriverlaunch in class AbstractSoftwareProcessDriverpublic boolean isRunning()
SoftwareProcessDriverisRunning in interface SoftwareProcessDriverpublic void stop()
SoftwareProcessDriverstop in interface SoftwareProcessDriverstop in class AbstractSoftwareProcessDriverStartable.stop()public void kill()
SoftwareProcessDriverkill in interface SoftwareProcessDriverkill in class AbstractSoftwareProcessDriverpublic static java.lang.String hashPassword(java.lang.String username,
                                            java.lang.String password,
                                            java.lang.String realm)
add-user.sh script it is unsuitable for use in
 non-interactive modes. (See AS7-5061 for details.) Versions 7.1.2+ (EAP) accept
 a --silent flag. When this entity is updated past 7.1.1 we should
 probably use that instead.
 
 This method mirrors AS7 and Wildfire's method of hashing user's passwords. Refer
 to its class UsernamePasswordHashUtil.generateHashedURP for their
 implementation.HEX(MD5(username ':' realm ':' password))