Package org.wildfly.security.sasl.oauth2
Class OAuth2SaslClientFactory
- java.lang.Object
-
- org.wildfly.security.sasl.oauth2.OAuth2SaslClientFactory
-
- All Implemented Interfaces:
SaslClientFactory
@MetaInfServices(javax.security.sasl.SaslClientFactory.class) public final class OAuth2SaslClientFactory extends Object implements SaslClientFactory
ASaslClientFactory
for OAuth2.- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description OAuth2SaslClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslClient
createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
String[]
getMechanismNames(Map<String,?> props)
private String[]
getMechanismNames(Map<String,?> props, boolean query)
-
-
-
Method Detail
-
createSaslClient
public SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
- Specified by:
createSaslClient
in interfaceSaslClientFactory
- Throws:
SaslException
-
getMechanismNames
public String[] getMechanismNames(Map<String,?> props)
- Specified by:
getMechanismNames
in interfaceSaslClientFactory
-
-