public class PlainSaslServer extends Object implements SaslServer
| Modifier and Type | Class and Description |
|---|---|
static class |
PlainSaslServer.SaslPlainProvider |
static class |
PlainSaslServer.SaslPlainServerFactory |
| Modifier and Type | Field and Description |
|---|---|
static String |
PLAIN_METHOD |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateResponse(byte[] response) |
String |
getAuthorizationID() |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public static final String PLAIN_METHOD
public String getMechanismName()
getMechanismName in interface SaslServerpublic byte[] evaluateResponse(byte[] response)
throws SaslException
evaluateResponse in interface SaslServerSaslExceptionpublic boolean isComplete()
isComplete in interface SaslServerpublic String getAuthorizationID()
getAuthorizationID in interface SaslServerpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
unwrap in interface SaslServerpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
wrap in interface SaslServerpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty in interface SaslServerpublic void dispose()
dispose in interface SaslServerCopyright © 2017 The Apache Software Foundation. All rights reserved.