public class BasicServerAuthHandler extends Object implements ServerAuthHandler
| Modifier and Type | Class and Description |
|---|---|
static interface |
BasicServerAuthHandler.BasicAuthValidator |
ServerAuthHandler.ServerAuthSenderNO_OP| Constructor and Description |
|---|
BasicServerAuthHandler(BasicServerAuthHandler.BasicAuthValidator authValidator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(ServerAuthHandler.ServerAuthSender outgoing,
Iterator<byte[]> incoming) |
boolean |
isValid(byte[] token) |
public BasicServerAuthHandler(BasicServerAuthHandler.BasicAuthValidator authValidator)
public boolean authenticate(ServerAuthHandler.ServerAuthSender outgoing, Iterator<byte[]> incoming)
authenticate in interface ServerAuthHandlerpublic boolean isValid(byte[] token)
isValid in interface ServerAuthHandlerCopyright © 2019 The Apache Software Foundation. All rights reserved.