public class ServerUserAuthService extends AbstractCloseable implements Service, ServerSessionHolder
AbstractCloseable.State
closeFuture, lock, state
log
Constructor and Description |
---|
ServerUserAuthService(Session s) |
Modifier and Type | Method and Description |
---|---|
ServerFactoryManager |
getFactoryManager() |
ServerSession |
getServerSession() |
ServerSession |
getSession() |
protected void |
handleAuthenticationFailure(int cmd,
Buffer buffer) |
protected void |
handleAuthenticationInProgress(int cmd,
Buffer buffer) |
protected void |
handleAuthenticationSuccess(int cmd,
Buffer buffer) |
void |
process(int cmd,
Buffer buffer)
Service the request.
|
void |
start() |
builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing, preClose
close, isOpen
public ServerUserAuthService(Session s) throws SshException
SshException
public ServerSession getSession()
getSession
in interface Service
public ServerSession getServerSession()
getServerSession
in interface ServerSessionHolder
ServerSession
usedpublic void process(int cmd, Buffer buffer) throws Exception
Service
protected void handleAuthenticationInProgress(int cmd, Buffer buffer) throws Exception
Exception
protected void handleAuthenticationSuccess(int cmd, Buffer buffer) throws Exception
Exception
protected void handleAuthenticationFailure(int cmd, Buffer buffer) throws Exception
Exception
public ServerFactoryManager getFactoryManager()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.