private class HttpClientConnector.HttpBasicAuthentication extends BasicAuthentication<AuthenticationChallenge,java.lang.String> implements HttpClientConnector.HttpAuthenticationHandler
| Modifier and Type | Field and Description |
|---|---|
private boolean |
asked |
password, userdone, params, proxy| Constructor and Description |
|---|
HttpBasicAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
askCredentials()
Asks for credentials via the global
Authenticator. |
java.lang.String |
getName() |
java.lang.String |
getToken()
Retrieves the last token generated.
|
clearPassword, close, process, startisDone, setParamspublic java.lang.String getName()
getName in interface HttpClientConnector.HttpAuthenticationHandlerprotected void askCredentials()
BasicAuthenticationAuthenticator.askCredentials in class BasicAuthentication<AuthenticationChallenge,java.lang.String>public java.lang.String getToken()
throws java.lang.Exception
AuthenticationHandlergetToken in interface AuthenticationHandler<AuthenticationChallenge,java.lang.String>null if there is nonejava.lang.Exception - if an error occurs