public class ClientUserAuthService extends CloseableUtils.AbstractInnerCloseable implements Service
ssh-auth service.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientUserAuthService.Factory |
CloseableUtils.AbstractCloseable.State| Modifier and Type | Field and Description |
|---|---|
protected ClientUserAuthServiceNew |
delegateNew |
protected ClientUserAuthServiceOld |
delegateOld |
protected DefaultCloseFuture |
future |
protected ClientSessionImpl |
session |
protected boolean |
started |
closeFuture, lock, log, state| Constructor and Description |
|---|
ClientUserAuthService(Session s) |
| Modifier and Type | Method and Description |
|---|---|
AuthFuture |
auth(List<Object> identities,
String service) |
AuthFuture |
auth(UserAuth userAuth) |
protected Closeable |
getInnerCloseable() |
ClientSessionImpl |
getSession() |
void |
process(byte cmd,
Buffer buffer)
Service the request.
|
void |
start() |
doCloseGracefully, doCloseImmediatelybuilder, close, isClosed, isClosing, preCloseprotected final ClientSessionImpl session
protected ClientUserAuthServiceNew delegateNew
protected ClientUserAuthServiceOld delegateOld
protected boolean started
protected DefaultCloseFuture future
public ClientUserAuthService(Session s)
public ClientSessionImpl getSession()
getSession in interface Servicepublic void process(byte cmd,
Buffer buffer)
throws Exception
Serviceprotected Closeable getInnerCloseable()
getInnerCloseable in class CloseableUtils.AbstractInnerCloseablepublic AuthFuture auth(UserAuth userAuth) throws IOException
IOExceptionpublic AuthFuture auth(List<Object> identities, String service) throws IOException
IOExceptionCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.