Class PlainSaslServerProvider
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- java.security.Provider
-
- alluxio.security.authentication.plain.PlainSaslServerProvider
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
@ThreadSafe public final class PlainSaslServerProvider extends java.security.Provider
The Java SunSASL provider supports CRAM-MD5, DIGEST-MD5 and GSSAPI mechanisms on the server side. When the SASL is using PLAIN mechanism, there is no support the SASL server. So there is a new provider needed to register to support server-side PLAIN mechanism. Three basic steps to complete a SASL security provider:- Implements
PlainSaslServer
class which extendsSaslServer
interface - Provides
PlainSaslServer.Factory
class that implementsSaslServerFactory
interface - Provides a JCA provider that registers the factory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlainSaslServerProvider()
Constructs a new provider for the SASL server when using the PLAIN mechanism.
-
Method Summary
-
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, configure, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, values
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
MECHANISM
public static final java.lang.String MECHANISM
- See Also:
- Constant Field Values
-
VERSION
public static final double VERSION
- See Also:
- Constant Field Values
-
-