public class OAuth2SaslClient extends Object implements SaslClient
| Constructor and Description |
|---|
OAuth2SaslClient(CallbackHandler callbackHandler) |
| 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 static final String MECHANISM
public OAuth2SaslClient(CallbackHandler callbackHandler)
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 Object getNegotiatedProperty(String propName)
getNegotiatedProperty 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 void dispose()
throws SaslException
dispose in interface SaslClientSaslExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.