Class AuthTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class AuthTask
    extends java.lang.Thread
    Authentication task
    • 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 void destroySaslClient()  
      private void doAuth()  
      void run()  
      private Command startAuth()  
      private void waitCommand​(Command cmd, java.util.concurrent.atomic.AtomicBoolean done)  
      • 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

      • authInfo

        private final AuthInfo authInfo
      • EMPTY_BYTES

        public static final byte[] EMPTY_BYTES
      • log

        static final org.slf4j.Logger log
      • saslClient

        private javax.security.sasl.SaslClient saslClient
    • Method Detail

      • run

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

        private void doAuth()
      • destroySaslClient

        private void destroySaslClient()
      • startAuth

        private Command startAuth()
                           throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
      • waitCommand

        private void waitCommand​(Command cmd,
                                 java.util.concurrent.atomic.AtomicBoolean done)