public class GssapiServerFactory extends Object implements SaslServerFactory
SaslServerFactory
to locate the default GSSAPI mechanism and wrap it in our own version to ensure our identity is
set on the access control context.Constructor and Description |
---|
GssapiServerFactory() |
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
public static final String GSSAPI
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslServerFactory
public SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
SaslException
Copyright © 2018 JBoss by Red Hat. All rights reserved.