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
private  String authentication
          .
private  URL keyURL
          .
private  org.slf4j.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()
           
 URL getKeyURL()
           
 int getPort()
           
 void setAuthentication(String authentication)
           
 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
.


log

private final org.slf4j.Logger log
.


server

private org.apache.sshd.SshServer server
.


port

private int port
.


keyURL

private URL keyURL
.


authentication

private String authentication
.

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)

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 © 2012 eXo Platform SAS. All Rights Reserved.