public class ClientUserAuthService extends AbstractCloseable implements Service, ClientSessionHolder
ssh-auth service.AbstractCloseable.StatecloseFuture, futureLock, statelogEMPTYCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Constructor and Description |
|---|
ClientUserAuthService(Session s) |
| Modifier and Type | Method and Description |
|---|---|
AuthFuture |
auth(String service) |
ClientSession |
getClientSession() |
Map<String,Object> |
getProperties() |
ClientSession |
getSession() |
protected void |
preClose() |
void |
process(int cmd,
Buffer buffer)
Service the request.
|
protected void |
processUserAuth(Buffer buffer)
Execute one step in user authentication.
|
void |
start() |
protected void |
tryNext(int cmd) |
addCloseFutureListener, builder, close, doCloseGracefully, doCloseImmediately, getFutureLock, isClosed, isClosing, removeCloseFutureListenergetSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParentPropertyResolvergetSessionContextgetBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringPropertyaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerpublic ClientUserAuthService(Session s)
public ClientSession getSession()
getSession in interface SessionHolder<Session>public ClientSession getClientSession()
getClientSession in interface ClientSessionHolderClientSession usedpublic Map<String,Object> getProperties()
getProperties in interface PropertyResolverpublic AuthFuture auth(String service) throws IOException
IOExceptionpublic void process(int cmd,
Buffer buffer)
throws Exception
Serviceprotected void processUserAuth(Buffer buffer) throws Exception
protected void preClose()
preClose in class AbstractCloseableCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.