public class OTWinRMNodeExecutor extends Object implements com.dtolabs.rundeck.core.execution.service.NodeExecutor, com.dtolabs.rundeck.core.plugins.configuration.Describable
getKerberosUsername(com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConnectionOptionsBuilder)
and
getClearAuthPassword(com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConnectionOptionsBuilder).
The connection options can be altered as well by overriding willUseConnectionOptions(com.xebialabs.overthere.ConnectionOptions).| Modifier and Type | Class and Description |
|---|---|
protected class |
OTWinRMNodeExecutor.ConnectionOptionsBuilder |
static class |
OTWinRMNodeExecutor.Reason |
| Constructor and Description |
|---|
OTWinRMNodeExecutor(com.dtolabs.rundeck.core.common.Framework framework) |
| Modifier and Type | Method and Description |
|---|---|
static com.xebialabs.overthere.CmdLine |
buildCmdLineRaw(String... args)
Build a CmdLine without escaping any part, using Raw arguments
|
protected com.xebialabs.overthere.CmdLine |
buildCommandLine(String[] command)
Create the
CmdLine to run from the input string array, the default behavior is to use buildCmdLineRaw(String...) |
com.dtolabs.rundeck.core.execution.service.NodeExecutorResult |
executeCommand(com.dtolabs.rundeck.core.execution.ExecutionContext context,
String[] command,
com.dtolabs.rundeck.core.common.INodeEntry node) |
protected String |
getClearAuthPassword(OTWinRMNodeExecutor.ConnectionOptionsBuilder options)
Return the cleartext user password
|
com.dtolabs.rundeck.core.plugins.configuration.Description |
getDescription() |
protected String |
getKerberosUsername(OTWinRMNodeExecutor.ConnectionOptionsBuilder options)
Return the full username@domain to use for kerberos authentication.
|
protected com.xebialabs.overthere.ConnectionOptions |
willUseConnectionOptions(com.xebialabs.overthere.ConnectionOptions options)
Called before connecting with the ConnectionnOptions that will be used, which can be altered here by a subclass.
|
public static final String SERVICE_PROVIDER_TYPE
public static final int DEFAULT_WINRM_CONNECTION_TIMEOUT
public static final boolean DEFAULT_WINRM_CONNECTION_ENCRYPTED
public static final String WINRM_PASSWORD_OPTION
public static final String WINRM_PASSWORD_STORAGE_PATH
public static final String DEFAULT_WINRM_PASSWORD_OPTION
public static final int DEFAULT_HTTPS_PORT
public static final int DEFAULT_HTTP_PORT
public static final String WINRM_CONNECTION_TIMEOUT_PROPERTY
public static final String WINRM_USER
public static final String WINRM_PORT
public static final String WINRM_AUTH_TYPE
public static final String WINRM_CERT_TRUST
public static final String WINRM_HOSTNAME_TRUST
public static final String WINRM_PROTOCOL
public static final String AUTH_TYPE_KERBEROS
public static final String AUTH_TYPE_BASIC
public static final String WINRM_PROTOCOL_HTTPS
public static final String WINRM_PROTOCOL_HTTP
public static final String WINRM_SPN_ADD_PORT
public static final String WINRM_SPN_USE_HTTP
public static final String WINRM_LOCALE
public static final String WINRM_TIMEOUT
public static final String WINRM_IS_DOMAIN_MEMBER
public static final String WINRM_DOMAIN
public static final Boolean DEFAULT_IS_DOMAIN_MEMBER
public static final String HOSTNAME_TRUST_BROWSER_COMPATIBLE
public static final String HOSTNAME_TRUST_STRICT
public static final String HOSTNAME_TRUST_ALL
public static final String CERT_TRUST_DEFAULT
public static final String CERT_TRUST_ALL
public static final String CERT_TRUST_SELF_SIGNED
public static final String DEFAULT_AUTH_TYPE
public static final String DEBUG_KERBEROS_AUTH
public static final Boolean DEFAULT_DEBUG_KERBEROS_AUTH
public static final String DEFAULT_WINRM_PROTOCOL
public static final String KERBEROS_CACHE
public static final Boolean DEFAULT_KERBEROS_CACHE
public static final com.xebialabs.overthere.cifs.WinrmHttpsCertificateTrustStrategy DEFAULT_CERT_TRUST
public static final com.xebialabs.overthere.cifs.WinrmHttpsHostnameVerificationStrategy DEFAULT_HOSTNAME_VERIFY
public static final String CONFIG_AUTHENTICATION
public static final String CONFIG_PROTOCOL
public static final String CONFIG_CERT_TRUST
public static final String CONFIG_HOSTNAME_VERIFY
public static final String CONFIG_SPN_ADD_PORT
public static final String CONFIG_SPN_USE_HTTP
public static final String CONFIG_LOCALE
public static final String CONFIG_WINRM_TIMEOUT
public OTWinRMNodeExecutor(com.dtolabs.rundeck.core.common.Framework framework)
public com.dtolabs.rundeck.core.plugins.configuration.Description getDescription()
getDescription in interface com.dtolabs.rundeck.core.plugins.configuration.Describablepublic com.dtolabs.rundeck.core.execution.service.NodeExecutorResult executeCommand(com.dtolabs.rundeck.core.execution.ExecutionContext context,
String[] command,
com.dtolabs.rundeck.core.common.INodeEntry node)
executeCommand in interface com.dtolabs.rundeck.core.execution.service.NodeExecutorprotected com.xebialabs.overthere.CmdLine buildCommandLine(String[] command)
CmdLine to run from the input string array, the default behavior is to use buildCmdLineRaw(String...)command - protected com.xebialabs.overthere.ConnectionOptions willUseConnectionOptions(com.xebialabs.overthere.ConnectionOptions options)
throws com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationException
options - configured optionscom.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationExceptionpublic static com.xebialabs.overthere.CmdLine buildCmdLineRaw(String... args)
args - the regular arguments which will be added without escapingprotected String getClearAuthPassword(OTWinRMNodeExecutor.ConnectionOptionsBuilder options) throws com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationException
com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationExceptionprotected String getKerberosUsername(OTWinRMNodeExecutor.ConnectionOptionsBuilder options) throws com.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationException
options - options buildercom.dtolabs.rundeck.plugin.overthere.OTWinRMNodeExecutor.ConfigurationExceptionCopyright © 2011-2015. All Rights Reserved.