org.crsh.ssh.term
Class SSHLifeCycle

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

public class SSHLifeCycle
extends CRaSHLifeCycle

Version:
$Revision$
Author:
Julien Viet

Field Summary
static org.apache.sshd.common.Session.AttributeKey<String> PASSWORD
          .
static org.apache.sshd.common.Session.AttributeKey<String> USERNAME
          .
 
Constructor Summary
SSHLifeCycle(PluginContext context)
           
 
Method Summary
protected  void doDestroy()
           
protected  void doInit()
           
 String getKeyPath()
           
 URL getKeyURL()
           
 int getPort()
           
 void setKeyPath(String keyPath)
           
 void setKeyURL(URL keyURL)
           
 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<String> USERNAME
.


PASSWORD

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

Constructor Detail

SSHLifeCycle

public SSHLifeCycle(PluginContext context)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getKeyPath

public String getKeyPath()

setKeyPath

public void setKeyPath(String keyPath)

getKeyURL

public URL getKeyURL()

setKeyURL

public void setKeyURL(URL keyURL)

doInit

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

doDestroy

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.