Class AwtAuthenticator


public class AwtAuthenticator extends CachedAuthenticator
Basic network prompt for username/password when using AWT.
  • Constructor Details

    • AwtAuthenticator

      public AwtAuthenticator()
  • Method Details

    • install

      public static void install()
      Install this authenticator implementation into the JVM.
    • promptPasswordAuthentication

      protected PasswordAuthentication promptPasswordAuthentication()
      Prompt for and request authentication from the end-user.
      Specified by:
      promptPasswordAuthentication in class CachedAuthenticator
      Returns:
      the authentication data; null if the user canceled the request and does not want to continue.