Class ThreadLocalCredentials

    • Field Detail

      • log

        protected static final transient org.slf4j.Logger log
    • Method Detail

      • getThreadCredentials

        public java.net.PasswordAuthentication getThreadCredentials()
      • setThreadCredentials

        public void setThreadCredentials​(java.net.PasswordAuthentication pwauth)
        Set the credentials for the current thread
      • removeThreadCredentials

        public void removeThreadCredentials()
        Remove the credentials for the current thread
      • getInstance

        public static ThreadLocalCredentials getInstance​(java.lang.String target)
        Get an instance for the specified target.