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, doCloseImmediately
builder, close, isClosed, isClosing, preClose
protected 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 Service
public void process(byte cmd, Buffer buffer) throws Exception
Service
protected Closeable getInnerCloseable()
getInnerCloseable
in class CloseableUtils.AbstractInnerCloseable
public AuthFuture auth(UserAuth userAuth) throws IOException
IOException
public AuthFuture auth(List<Object> identities, String service) throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.