public class ClientUserAuthService extends java.lang.Object implements Service
ssh-auth service.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientUserAuthService.Factory |
| Modifier and Type | Field and Description |
|---|---|
protected ClientUserAuthServiceNew |
delegateNew |
protected ClientUserAuthServiceOld |
delegateOld |
protected org.slf4j.Logger |
log
Our logger
|
protected ClientSessionImpl |
session |
protected boolean |
started |
| Constructor and Description |
|---|
ClientUserAuthService(Session s) |
| Modifier and Type | Method and Description |
|---|---|
AuthFuture |
auth(java.util.List<java.lang.Object> identities,
java.lang.String service) |
AuthFuture |
auth(UserAuth userAuth) |
CloseFuture |
close(boolean immediately)
Close the service.
|
ClientSessionImpl |
getSession() |
void |
process(byte cmd,
Buffer buffer)
Service the request.
|
void |
start() |
protected final org.slf4j.Logger log
protected final ClientSessionImpl session
protected ClientUserAuthServiceNew delegateNew
protected ClientUserAuthServiceOld delegateOld
protected boolean started
public ClientUserAuthService(Session s)
public ClientSessionImpl getSession()
getSession in interface Servicepublic void process(byte cmd,
Buffer buffer)
throws java.lang.Exception
Servicepublic CloseFuture close(boolean immediately)
Servicepublic AuthFuture auth(UserAuth userAuth) throws java.io.IOException
java.io.IOExceptionpublic AuthFuture auth(java.util.List<java.lang.Object> identities, java.lang.String service) throws java.io.IOException
java.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.