public static class FakeKerberosAuthMethod.FakeSaslClient extends Object implements SaslClient
| Constructor and Description |
|---|
FakeKerberosAuthMethod.FakeSaslClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
evaluateChallenge(byte[] challenge) |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
hasInitialResponse() |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public FakeKerberosAuthMethod.FakeSaslClient()
public String getMechanismName()
getMechanismName in interface SaslClientpublic boolean hasInitialResponse()
hasInitialResponse in interface SaslClientpublic byte[] evaluateChallenge(byte[] challenge) throws SaslException
evaluateChallenge in interface SaslClientSaslExceptionpublic boolean isComplete()
isComplete in interface SaslClientpublic byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
unwrap in interface SaslClientSaslExceptionpublic byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
wrap in interface SaslClientSaslExceptionpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty in interface SaslClientpublic void dispose() throws SaslException
dispose in interface SaslClientSaslExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.