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 SaslClientFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslClientFactory
public static void init()
Copyright © 2017 JBoss by Red Hat. All rights reserved.