public class AuthenticatorManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.net.Authenticator |
getCurrentAuthenticator() |
java.net.Authenticator |
getDefaultAuthenticator() |
static AuthenticatorManager |
getInstance() |
void |
initialize() |
java.net.Authenticator |
popAuthenticator() |
void |
pushAuthenticator(java.net.Authenticator authenticator) |
public static AuthenticatorManager getInstance()
public void initialize()
public void pushAuthenticator(java.net.Authenticator authenticator)
public java.net.Authenticator popAuthenticator()
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public java.net.Authenticator getCurrentAuthenticator()
throws java.util.EmptyStackException
java.util.EmptyStackExceptionpublic java.net.Authenticator getDefaultAuthenticator()