|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 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()
|
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)
|
| 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 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 Integer getLocalPort()
public Resource getKey()
public void setKey(Resource key)
protected void doInit()
doInit in class TermLifeCycleprotected void doDestroy()
doDestroy in class TermLifeCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||