uk.ac.starlink.topcat
Class SwingHttpAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by uk.ac.starlink.topcat.SwingHttpAuthenticator

public class SwingHttpAuthenticator
extends Authenticator

Authenticator for password-protected HTTP connections that pops up a dialogue asking the user for credentials.

Since:
12 Jun 2013
Author:
Mark Taylor

Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Constructor Summary
SwingHttpAuthenticator(Component parent)
          Constructor.
 
Method Summary
 PasswordAuthentication getPasswordAuthentication()
           
 
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingHttpAuthenticator

public SwingHttpAuthenticator(Component parent)
Constructor.

Parameters:
parent - dialogue parent
Method Detail

getPasswordAuthentication

public PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class Authenticator


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.