com.sun.istack.tools
Class DefaultAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by com.sun.istack.tools.DefaultAuthenticator

public class DefaultAuthenticator
extends Authenticator

Author:
Vivek Pandey, Lukas Jungmann

Nested Class Summary
static interface DefaultAuthenticator.Receiver
           
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Method Summary
static DefaultAuthenticator getAuthenticator()
           
protected  PasswordAuthentication getPasswordAuthentication()
           
static void reset()
           
 void setAuth(File f, DefaultAuthenticator.Receiver l)
           
 void setProxyAuth(String proxyAuth)
          Proxy authorization string in form of username:password.
 
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
 

Method Detail

getAuthenticator

public static DefaultAuthenticator getAuthenticator()

reset

public static void reset()

getPasswordAuthentication

protected PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class Authenticator

setProxyAuth

public void setProxyAuth(String proxyAuth)
Proxy authorization string in form of username:password.

Parameters:
proxyAuth -

setAuth

public void setAuth(File f,
                    DefaultAuthenticator.Receiver l)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.