SaslClientpublic class OAuth2SaslClient extends Object implements SaslClient
| Constructor | Description |
|---|---|
OAuth2SaslClient(Map<String,?> props,
CallbackHandler cbh) |
| Modifier and Type | Method | 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 OAuth2SaslClient(Map<String,?> props, CallbackHandler cbh)
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 © 2018 Oracle. All rights reserved.