Class FastSaslServerFactory

java.lang.Object
org.apache.drill.exec.rpc.security.FastSaslServerFactory
All Implemented Interfaces:
SaslServerFactory

public final class FastSaslServerFactory extends Object implements SaslServerFactory
Sasl.createSaslServer(java.lang.String, java.lang.String, java.lang.String, java.util.Map<java.lang.String, ?>, javax.security.auth.callback.CallbackHandler) is known to be slow. This class caches available server factories. This is a modified version of Apache Hadoop's implementation.