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