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 java.lang.Object
implements SEPasswordListener


Nested Class Summary
protected  class AuthenticatorWindow.authCache
           
protected static class AuthenticatorWindow.authDialog
           
 
Field Summary
protected  java.util.Map auth_cache
           
protected  AEMonitor this_mon
           
 
Constructor Summary
AuthenticatorWindow()
           
 
Method Summary
 void clearPasswords()
           
 java.net.PasswordAuthentication getAuthentication(java.lang.String realm, java.lang.String protocol, java.lang.String host, int port)
           
 java.net.PasswordAuthentication getAuthentication(java.lang.String realm, java.net.URL tracker)
           
protected  java.lang.String[] getAuthenticationDialog(java.lang.String realm, java.lang.String location)
           
protected  void saveAuthCache()
           
 void setAuthenticationOutcome(java.lang.String realm, java.lang.String protocol, java.lang.String host, int port, boolean success)
           
 void setAuthenticationOutcome(java.lang.String realm, java.net.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 java.util.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 java.net.PasswordAuthentication getAuthentication(java.lang.String realm,
                                                         java.net.URL tracker)
Specified by:
getAuthentication in interface SEPasswordListener

setAuthenticationOutcome

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

setAuthenticationOutcome

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

getAuthentication

public java.net.PasswordAuthentication getAuthentication(java.lang.String realm,
                                                         java.lang.String protocol,
                                                         java.lang.String host,
                                                         int port)

getAuthenticationDialog

protected java.lang.String[] getAuthenticationDialog(java.lang.String realm,
                                                     java.lang.String location)