Class AuthThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class AuthThread
    extends SpyThread
    A thread that does SASL authentication.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private Operation buildOperation​(OperationStatus st, OperationCallback cb, java.lang.String[] supportedMechs)  
      protected java.lang.String[] listSupportedSASLMechanisms​(java.util.concurrent.atomic.AtomicBoolean done)  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • AUTH_ROUNDTRIP_THRESHOLD

        public static final int AUTH_ROUNDTRIP_THRESHOLD
        If a SASL step takes longer than this period in milliseconds, a warning will be issued instead of a debug message.
        See Also:
        Constant Field Values
      • AUTH_TOTAL_THRESHOLD

        public static final int AUTH_TOTAL_THRESHOLD
        If the total AUTH steps take longer than this period in milliseconds, a warning will be issued instead of a debug message.
        See Also:
        Constant Field Values
    • Method Detail

      • listSupportedSASLMechanisms

        protected java.lang.String[] listSupportedSASLMechanisms​(java.util.concurrent.atomic.AtomicBoolean done)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread