org.gudy.azureus2.ui.swt.auth
Class AuthenticatorWindow

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.auth.AuthenticatorWindow
All Implemented Interfaces:
SEPasswordListener

public class AuthenticatorWindow
extends Object
implements SEPasswordListener


Nested Class Summary
protected  class AuthenticatorWindow.authCache
           
protected  class AuthenticatorWindow.authDialog
           
 
Field Summary
protected  Map auth_cache
           
protected  AEMonitor this_mon
           
 
Constructor Summary
AuthenticatorWindow()
           
 
Method Summary
 void clearPasswords()
           
 PasswordAuthentication getAuthentication(String realm, String protocol, String host, int port)
           
 PasswordAuthentication getAuthentication(String realm, URL tracker)
           
protected  String[] getAuthenticationDialog(String realm, String location)
           
protected  void saveAuthCache()
           
 void setAuthenticationOutcome(String realm, String protocol, String host, int port, boolean success)
           
 void setAuthenticationOutcome(String realm, URL tracker, boolean success)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

auth_cache

protected Map auth_cache

this_mon

protected AEMonitor this_mon
Constructor Detail

AuthenticatorWindow

public AuthenticatorWindow()
Method Detail

saveAuthCache

protected void saveAuthCache()

clearPasswords

public void clearPasswords()
Specified by:
clearPasswords in interface SEPasswordListener

getAuthentication

public PasswordAuthentication getAuthentication(String realm,
                                                URL tracker)
Specified by:
getAuthentication in interface SEPasswordListener

setAuthenticationOutcome

public void setAuthenticationOutcome(String realm,
                                     URL tracker,
                                     boolean success)
Specified by:
setAuthenticationOutcome in interface SEPasswordListener

setAuthenticationOutcome

public void setAuthenticationOutcome(String realm,
                                     String protocol,
                                     String host,
                                     int port,
                                     boolean success)

getAuthentication

public PasswordAuthentication getAuthentication(String realm,
                                                String protocol,
                                                String host,
                                                int port)

getAuthenticationDialog

protected String[] getAuthenticationDialog(String realm,
                                           String location)