Class Settings.AuthenticationSettings

  • Enclosing class:
    Settings

    public static class Settings.AuthenticationSettings
    extends Object
    Settings for the Authenticator implementation.
    • Field Detail

      • DEFAULT_PRE_AUTH_TIMEOUT

        public static final long DEFAULT_PRE_AUTH_TIMEOUT
        Default for preAuthTimeout.
      • authenticator

        public String authenticator
        The fully qualified class name of the Authenticator implementation. This class name will be used to load the implementation from the classpath. Defaults to AllowAllAuthenticator when not specified.
      • authenticationHandler

        public String authenticationHandler
        The fully qualified class name of the AbstractAuthenticationHandler implementation. This class name will be used to load the implementation from the classpath. Defaults to null when not specified.
      • maxDeferredRequests

        public int maxDeferredRequests
        Number of requests a channel may defer while its SASL authentication is pending. Must be greater than zero. Only applies to SaslAuthenticationHandler and its subclasses.
      • maxPreAuthRetainedBytes

        public long maxPreAuthRetainedBytes
        Total wire bytes a channel may have retained while its SASL authentication is pending, covering the request that started it as well as the deferred ones. Deserialized, their heap footprint is a multiple of this. Must be greater than zero. Only applies to SaslAuthenticationHandler and its subclasses.
      • preAuthTimeout

        public long preAuthTimeout
        Time in milliseconds a channel may stay unauthenticated, covering the whole handshake and not just the deferral window, after which it is closed. Must be greater than zero. Only applies to SaslAuthenticationHandler and its subclasses.
    • Constructor Detail

      • AuthenticationSettings

        public AuthenticationSettings()