org.crsh.term.sshd
Class SSHLifeCycle

java.lang.Object
  extended by org.crsh.term.CRaSHLifeCycle
      extended by org.crsh.term.sshd.SSHLifeCycle

public class SSHLifeCycle
extends CRaSHLifeCycle

Version:
$Revision$
Author:
Julien Viet

Field Summary
static org.apache.sshd.common.Session.AttributeKey<java.lang.String> PASSWORD
          .
static org.apache.sshd.common.Session.AttributeKey<java.lang.String> USERNAME
          .
 
Constructor Summary
SSHLifeCycle(ShellContext context)
           
 
Method Summary
protected  void doDestroy()
           
protected  void doInit()
           
 java.lang.String getKeyPath()
           
 int getPort()
           
 void setKeyPath(java.lang.String keyPath)
           
 void setPort(int port)
           
 
Methods inherited from class org.crsh.term.CRaSHLifeCycle
destroy, getExecutor, getShellContext, getShellFactory, 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<java.lang.String> USERNAME
.


PASSWORD

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

Constructor Detail

SSHLifeCycle

public SSHLifeCycle(ShellContext context)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getKeyPath

public java.lang.String getKeyPath()

setKeyPath

public void setKeyPath(java.lang.String keyPath)

doInit

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

doDestroy

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.