public class SSHLifeCycle extends TermLifeCycle
| Modifier and Type | Field and Description |
|---|---|
private AuthenticationPlugin |
authentication
.
|
private Resource |
key
.
|
private Integer |
localPort
.
|
private Logger |
log
.
|
static org.apache.sshd.common.Session.AttributeKey<String> |
PASSWORD
.
|
private int |
port
.
|
private org.apache.sshd.SshServer |
server
.
|
static org.apache.sshd.common.Session.AttributeKey<String> |
USERNAME
.
|
| Constructor and Description |
|---|
SSHLifeCycle(PluginContext context,
AuthenticationPlugin<?> authentication) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected void |
doInit() |
Resource |
getKey() |
Integer |
getLocalPort()
Returns the local part after the ssh server has been succesfully bound or null.
|
int |
getPort() |
void |
setKey(Resource key) |
void |
setPort(int port) |
destroy, getContext, getHandler, initprivate org.apache.sshd.SshServer server
private int port
private final AuthenticationPlugin authentication
public SSHLifeCycle(PluginContext context, AuthenticationPlugin<?> authentication)
public int getPort()
public void setPort(int port)
public Integer getLocalPort()
protected void doInit()
doInit in class TermLifeCycleprotected void doDestroy()
doDestroy in class TermLifeCycleCopyright © 2013 eXo Platform SAS. All Rights Reserved.