org.crsh.ssh.term
Class SSHLifeCycle

java.lang.Object
  extended by org.crsh.term.TermLifeCycle
      extended by org.crsh.ssh.term.SSHLifeCycle

public class SSHLifeCycle
extends TermLifeCycle


Field Summary
private  String authentication
          .
private  Resource key
          .
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)
           
 
Method Summary
protected  void doDestroy()
           
protected  void doInit()
           
 String getAuthentication()
           
 Resource getKey()
           
 int getPort()
           
 void setAuthentication(String authentication)
           
 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

USERNAME

public static final org.apache.sshd.common.Session.AttributeKey<String> USERNAME
.


PASSWORD

public static final org.apache.sshd.common.Session.AttributeKey<String> PASSWORD
.


log

private final Logger log
.


server

private org.apache.sshd.SshServer server
.


port

private int port
.


key

private Resource key
.


authentication

private String authentication
.

Constructor Detail

SSHLifeCycle

public SSHLifeCycle(PluginContext context)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getKey

public Resource getKey()

setKey

public void setKey(Resource key)

getAuthentication

public String getAuthentication()

setAuthentication

public void setAuthentication(String authentication)

doInit

protected void doInit()
Specified by:
doInit in class TermLifeCycle

doDestroy

protected void doDestroy()
Specified by:
doDestroy in class TermLifeCycle


Copyright © 2013 eXo Platform SAS. All Rights Reserved.