|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.term.TermLifeCycle 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 AuthenticationPlugin |
authentication . |
private int |
authTimeout . |
private int |
idleTimeout . |
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 Summary | |
---|---|
SSHLifeCycle(PluginContext context, AuthenticationPlugin<?> authentication) |
Method Summary | |
---|---|
protected void |
doDestroy() |
protected void |
doInit() |
int |
getAuthTimeout() |
int |
getIdleTimeout() |
Resource |
getKey() |
Integer |
getLocalPort() Returns the local part after the ssh server has been succesfully bound or null. |
int |
getPort() |
void |
setAuthTimeout(int authTimeout) |
void |
setIdleTimeout(int idleTimeout) |
void |
setKey(Resource key) |
void |
setPort(int port) |
Methods inherited from class org.crsh.term.TermLifeCycle |
---|
destroy, getContext, getHandler, 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 org.apache.sshd.SshServer server
private int port
private int idleTimeout
private int authTimeout
private Resource key
private final AuthenticationPlugin authentication
private Integer localPort
Constructor Detail |
---|
public SSHLifeCycle(PluginContext context, AuthenticationPlugin<?> authentication)
Method Detail |
---|
public int getPort()
public void setPort(int port)
public int getIdleTimeout()
public void setIdleTimeout(int idleTimeout)
public int getAuthTimeout()
public void setAuthTimeout(int authTimeout)
public Integer getLocalPort()
public Resource getKey()
public void setKey(Resource key)
protected void doInit()
doInit
in class TermLifeCycle
protected void doDestroy()
doDestroy
in class TermLifeCycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |