|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.ssh.term.SSHLifeCycle
public class SSHLifeCycle
Interesting stuff here : http://gerrit.googlecode.com/git-history/4b9e5e7fb9380cfadd28d7ffe3dc496dc06f5892/gerrit-sshd/src/main/java/com/google/gerrit/sshd/DatabasePubKeyAuth.java
Field Summary | |
---|---|
private ArrayList<AuthenticationPlugin> |
authenticationPlugins . |
private int |
authTimeout . |
private PluginContext |
context . |
private Charset |
encoding . |
private int |
idleTimeout . |
private org.apache.sshd.common.KeyPairProvider |
keyPairProvider . |
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 Summary | |
---|---|
SSHLifeCycle(PluginContext context, Charset encoding, int port, int idleTimeout, int authTimeout, org.apache.sshd.common.KeyPairProvider keyPairProvider, ArrayList<AuthenticationPlugin> authenticationPlugins) |
Method Summary | ||
---|---|---|
void |
destroy() |
|
private
|
genericAuthenticate(Class<T> type, String username, T credential) |
|
int |
getAuthTimeout() |
|
Charset |
getEncoding() |
|
int |
getIdleTimeout() |
|
org.apache.sshd.common.KeyPairProvider |
getKeyPairProvider() |
|
Integer |
getLocalPort() Returns the local part after the ssh server has been succesfully bound or null. |
|
int |
getPort() |
|
void |
init() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.sshd.common.Session.AttributeKey<String> USERNAME
public static final org.apache.sshd.common.Session.AttributeKey<String> PASSWORD
private final Logger log
private final PluginContext context
private final int port
private final int idleTimeout
private final int authTimeout
private final Charset encoding
private final org.apache.sshd.common.KeyPairProvider keyPairProvider
private final ArrayList<AuthenticationPlugin> authenticationPlugins
private org.apache.sshd.SshServer server
private Integer localPort
Constructor Detail |
---|
public SSHLifeCycle(PluginContext context, Charset encoding, int port, int idleTimeout, int authTimeout, org.apache.sshd.common.KeyPairProvider keyPairProvider, ArrayList<AuthenticationPlugin> authenticationPlugins)
Method Detail |
---|
public Charset getEncoding()
public int getPort()
public int getIdleTimeout()
public int getAuthTimeout()
public Integer getLocalPort()
public org.apache.sshd.common.KeyPairProvider getKeyPairProvider()
public void init()
public void destroy()
private <T> boolean genericAuthenticate(Class<T> type, String username, T credential)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |