public class OAuth2SaslClientFactory extends Object implements SaslClientFactory
| Constructor and Description |
|---|
OAuth2SaslClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
SaslClient |
createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
static void |
init()
Initialize this OAUTH2 provider, but only if there isn't one already.
|
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient in interface SaslClientFactorySaslExceptionpublic String[] getMechanismNames(Map<String,?> props)
getMechanismNames in interface SaslClientFactorypublic static void init()
Copyright © 2017 Oracle. All rights reserved.