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

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()
           
 URL getKeyURL()
           
 int getPort()
           
 void setKeyURL(URL keyURL)
           
 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
.

Constructor Detail

SSHLifeCycle

public SSHLifeCycle(PluginContext context)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getKeyURL

public URL getKeyURL()

setKeyURL

public void setKeyURL(URL keyURL)

doInit

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

doDestroy

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.