Package com.biglybt.ui.swt.auth
Class AuthenticatorWindow
- java.lang.Object
-
- com.biglybt.ui.swt.auth.AuthenticatorWindow
-
- All Implemented Interfaces:
SEPasswordListener
public class AuthenticatorWindow extends java.lang.Object implements SEPasswordListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
AuthenticatorWindow.authCache
protected static class
AuthenticatorWindow.authDialog
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map
auth_cache
private static java.lang.String
CONFIG_PARAM
protected AEMonitor
this_mon
-
Constructor Summary
Constructors Constructor Description AuthenticatorWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
CONFIG_PARAM
private static final java.lang.String CONFIG_PARAM
- See Also:
- Constant Field Values
-
auth_cache
protected java.util.Map auth_cache
-
this_mon
protected AEMonitor this_mon
-
-
Method Detail
-
saveAuthCache
protected void saveAuthCache()
-
clearPasswords
public void clearPasswords()
- Specified by:
clearPasswords
in interfaceSEPasswordListener
-
getAuthentication
public java.net.PasswordAuthentication getAuthentication(java.lang.String realm, java.net.URL tracker)
- Specified by:
getAuthentication
in interfaceSEPasswordListener
-
setAuthenticationOutcome
public void setAuthenticationOutcome(java.lang.String realm, java.net.URL tracker, boolean success)
- Specified by:
setAuthenticationOutcome
in interfaceSEPasswordListener
-
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)
-
-