Please note that since version 5.2 this class no longer updated the authentication cache bound to the execution context.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final AuthChallengeParser |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAuthResponse(final HttpHost
the hostname of the opposite endpoint. host, final ChallengeType the challenge type (target or proxy). challengeType, final HttpRequest the request message head. request, final AuthExchange the current authentication exchange state. authExchange, final HttpContext the current execution context. context)Generates a response to the authentication challenge based on the actual |
| public boolean | Returns: true if the response message represents an authentication challenge,
false otherwise.the hostname of the opposite endpoint. host, final ChallengeType the challenge type (target or proxy). challengeType, final HttpResponse the response message head. response, final AuthExchange the current authentication exchange state. authExchange, final HttpContext the current execution context. context)Determines whether the given response represents an authentication challenge. |
| public boolean | Returns: true if the authentication state has been updated,
false if unchanged.the hostname of the opposite endpoint. host, final ChallengeType the challenge type (target or proxy). challengeType, final HttpResponse the response message head. response, final AuthenticationStrategy the authentication strategy. authStrategy, final AuthExchange the current authentication exchange state. authExchange, final HttpContext the current execution context. context)Updates the |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| parser | back to summary |
|---|---|
| private final AuthChallengeParser parser | |
| HttpAuthenticator | back to summary |
|---|---|
| public HttpAuthenticator() | |
| addAuthResponse | back to summary |
|---|---|
| public void addAuthResponse(final HttpHost host, final ChallengeType challengeType, final HttpRequest request, final AuthExchange authExchange, final HttpContext context) Generates a response to the authentication challenge based on the actual
| |
| isChallenged | back to summary |
|---|---|
| public boolean isChallenged(final HttpHost host, final ChallengeType challengeType, final HttpResponse response, final AuthExchange authExchange, final HttpContext context) Determines whether the given response represents an authentication challenge.
| |
| updateAuthState | back to summary |
|---|---|
| public boolean updateAuthState(final HttpHost host, final ChallengeType challengeType, final HttpResponse response, final AuthenticationStrategy authStrategy, final AuthExchange authExchange, final HttpContext context) Updates the
| |