public class SSHOptions extends Object
| Constructor and Description |
|---|
SSHOptions() |
SSHOptions(JsonObject json) |
SSHOptions(SSHOptions that) |
| Modifier and Type | Method and Description |
|---|---|
AuthOptions |
getAuthOptions() |
String |
getHost() |
KeyCertOptions |
getKeyPairOptions() |
int |
getPort() |
SSHOptions |
setHost(String host)
Set the host
|
SSHOptions |
setKeyPairOptions(JksOptions options)
Set the key pair options in jks format, aka Java keystore.
|
SSHOptions |
setPemKeyPairOptions(PemKeyCertOptions options)
Set the key pair store options in pem format.
|
SSHOptions |
setPfxKeyPairOptions(PfxOptions options)
Set the key pair options in pfx format.
|
SSHOptions |
setPort(int port)
Set the port
|
SSHOptions |
setShiroAuthOptions(ShiroAuthOptions shiroAuthOptions)
Set the auth options as a Shiro auth.
|
public SSHOptions()
public SSHOptions(SSHOptions that)
public SSHOptions(JsonObject json)
public String getHost()
public SSHOptions setHost(String host)
host - the hostpublic int getPort()
public SSHOptions setPort(int port)
port - the portpublic KeyCertOptions getKeyPairOptions()
public SSHOptions setKeyPairOptions(JksOptions options)
options - the key store in jks formatpublic SSHOptions setPfxKeyPairOptions(PfxOptions options)
options - the key cert options in pfx formatpublic SSHOptions setPemKeyPairOptions(PemKeyCertOptions options)
options - the options in pem formatpublic AuthOptions getAuthOptions()
public SSHOptions setShiroAuthOptions(ShiroAuthOptions shiroAuthOptions)
shiroAuthOptions - the Shiro auth optionsCopyright © 2015. All rights reserved.