public class OAuth2SaslClient extends Object implements SaslClient
| 构造器和说明 |
|---|
OAuth2SaslClient(Map<String,?> props,
CallbackHandler cbh) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 SaslClientpublic boolean hasInitialResponse()
hasInitialResponse 在接口中 SaslClientpublic byte[] evaluateChallenge(byte[] challenge)
throws SaslException
evaluateChallenge 在接口中 SaslClientSaslExceptionpublic boolean isComplete()
isComplete 在接口中 SaslClientpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
unwrap 在接口中 SaslClientSaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap 在接口中 SaslClientSaslExceptionpublic Object getNegotiatedProperty(String propName)
getNegotiatedProperty 在接口中 SaslClientpublic void dispose()
throws SaslException
dispose 在接口中 SaslClientSaslExceptionCopyright © 2021 Oracle. All rights reserved.