public class ClientUserAuthServiceNew extends CloseableUtils.AbstractCloseable implements Service
ssh-auth
service.CloseableUtils.AbstractCloseable.State
Modifier and Type | Field and Description |
---|---|
protected ClientSessionImpl |
session |
closeFuture, lock, log, state
Constructor and Description |
---|
ClientUserAuthServiceNew(Session s) |
Modifier and Type | Method and Description |
---|---|
AuthFuture |
auth(List<Object> identities,
String service) |
ClientSessionImpl |
getSession() |
protected void |
preClose()
preClose is guaranteed to be called before doCloseGracefully or doCloseImmediately.
|
void |
process(byte cmd,
Buffer buffer)
Service the request.
|
void |
start() |
builder, close, doCloseGracefully, doCloseImmediately, isClosed, isClosing
protected final ClientSessionImpl session
public ClientUserAuthServiceNew(Session s)
public ClientSessionImpl getSession()
getSession
in interface Service
public AuthFuture auth(List<Object> identities, String service) throws IOException
IOException
public void process(byte cmd, Buffer buffer) throws Exception
Service
protected void preClose()
CloseableUtils.AbstractCloseable
preClose
in class CloseableUtils.AbstractCloseable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.