org.crsh.ssh.term
Class SSHLifeCycle
java.lang.Object
org.crsh.ssh.term.SSHLifeCycle
public class SSHLifeCycle
- extends Object
Interesting stuff here : http://gerrit.googlecode.com/git-history/4b9e5e7fb9380cfadd28d7ffe3dc496dc06f5892/gerrit-sshd/src/main/java/com/google/gerrit/sshd/DatabasePubKeyAuth.java
|
Field Summary |
static org.apache.sshd.common.Session.AttributeKey<String> |
PASSWORD
. |
static org.apache.sshd.common.Session.AttributeKey<String> |
USERNAME
. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USERNAME
public static final org.apache.sshd.common.Session.AttributeKey<String> USERNAME
- .
PASSWORD
public static final org.apache.sshd.common.Session.AttributeKey<String> PASSWORD
- .
SSHLifeCycle
public SSHLifeCycle(PluginContext context,
Charset encoding,
int port,
int idleTimeout,
int authTimeout,
org.apache.sshd.common.KeyPairProvider keyPairProvider,
ArrayList<AuthenticationPlugin> authenticationPlugins)
getEncoding
public Charset getEncoding()
getPort
public int getPort()
getIdleTimeout
public int getIdleTimeout()
getAuthTimeout
public int getAuthTimeout()
getLocalPort
public Integer getLocalPort()
- Returns the local part after the ssh server has been succesfully bound or null. This is useful when
the port is chosen at random by the system.
- Returns:
- the local port
getKeyPairProvider
public org.apache.sshd.common.KeyPairProvider getKeyPairProvider()
init
public void init()
destroy
public void destroy()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.