Package org.wildfly.security.sasl.gs2
Class Gs2SaslServerFactory
java.lang.Object
org.wildfly.security.sasl.gs2.Gs2SaslServerFactory
- All Implemented Interfaces:
SaslServerFactory
@MetaInfServices(javax.security.sasl.SaslServerFactory.class)
public final class Gs2SaslServerFactory
extends Object
implements SaslServerFactory
SaslServerFactory for the GS2 mechanism family as defined by RFC 5801.
- Author:
- Farah Juma
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new instance with the default GSS manager.Gs2SaslServerFactory(GSSManager gssManager) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) String[]getMechanismNames(Map<String, ?> props)
-
Constructor Details
-
Gs2SaslServerFactory
Construct a new instance.- Parameters:
gssManager- the GSS manager to use
-
Gs2SaslServerFactory
public Gs2SaslServerFactory()Construct a new instance with the default GSS manager.
-
-
Method Details
-
createSaslServer
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException- Specified by:
createSaslServerin interfaceSaslServerFactory- Throws:
SaslException
-
getMechanismNames
- Specified by:
getMechanismNamesin interfaceSaslServerFactory
-