Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.util.proxy
Class HttpAuth

java.lang.Object
  extended by java.net.Authenticator
      extended by eu.esdihumboldt.hale.ui.util.proxy.HttpAuth

public class HttpAuth
extends Authenticator

This class is used for proxy authentication. (Sometimes just setting System properties does not work)

Author:
Andreas Burchert
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Constructor Summary
HttpAuth(String user, String password)
          Constructor.
 
Method Summary
protected  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

HttpAuth

public HttpAuth(String user,
                String password)
Constructor.

Parameters:
user - proxyUser
password - proxyPassword
Method Detail

getPasswordAuthentication

protected PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class Authenticator

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d