Class AsyncUserAuthService

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.CloseableUtils.IoBaseCloseable
org.apache.sshd.common.util.CloseableUtils.AbstractCloseable
org.aesh.terminal.ssh.netty.AsyncUserAuthService
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, org.apache.sshd.common.Service

public class AsyncUserAuthService extends org.apache.sshd.common.util.CloseableUtils.AbstractCloseable implements org.apache.sshd.common.Service
Author:
Julien Viet
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.sshd.common.util.CloseableUtils.AbstractCloseable

    org.apache.sshd.common.util.CloseableUtils.AbstractCloseable.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class org.apache.sshd.common.util.CloseableUtils.AbstractCloseable

    closeFuture, lock, state

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
    AsyncUserAuthService(org.apache.sshd.common.session.Session s)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.server.session.ServerSession
     
    void
    process(int cmd, org.apache.sshd.common.util.buffer.Buffer buffer)
     
    void
     

    Methods inherited from class org.apache.sshd.common.util.CloseableUtils.AbstractCloseable

    builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing, preClose

    Methods inherited from class org.apache.sshd.common.util.CloseableUtils.IoBaseCloseable

    close, isOpen

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface Channel

    close, isOpen

    Methods inherited from interface org.apache.sshd.common.Closeable

    close, isClosed, isClosing
  • Field Details

    • DEFAULT_MAX_AUTH_REQUESTS

      public static final int DEFAULT_MAX_AUTH_REQUESTS
      See Also:
  • Constructor Details

    • AsyncUserAuthService

      public AsyncUserAuthService(org.apache.sshd.common.session.Session s) throws org.apache.sshd.common.SshException
      Throws:
      org.apache.sshd.common.SshException
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.apache.sshd.common.Service
    • getSession

      public org.apache.sshd.server.session.ServerSession getSession()
      Specified by:
      getSession in interface org.apache.sshd.common.Service
    • process

      public void process(int cmd, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception
      Specified by:
      process in interface org.apache.sshd.common.Service
      Throws:
      Exception