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 callbackHandler) |
String[] |
getMechanismNames(Map<String,?> props) |
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler callbackHandler) throws SaslException
createSaslClient
in interface SaslClientFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslClientFactory
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.