Class ProxyAuthenticator


  • public class ProxyAuthenticator
    extends java.net.Authenticator
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.net.Authenticator

        java.net.Authenticator.RequestorType
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyAuthenticator​(java.lang.String user, java.lang.String password)
      Instantiates a new proxy authenticator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.net.PasswordAuthentication getPasswordAuthentication()
      • Methods inherited from class java.net.Authenticator

        getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxyAuthenticator

        public ProxyAuthenticator​(java.lang.String user,
                                  java.lang.String password)
        Instantiates a new proxy authenticator.
        Parameters:
        user - the user
        password - the password
    • Method Detail

      • getPasswordAuthentication

        protected java.net.PasswordAuthentication getPasswordAuthentication()
        Overrides:
        getPasswordAuthentication in class java.net.Authenticator