| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final List | |
| private final String | |
| private final Log |
| Access | Constructor and Description |
|---|---|
| pack-priv | AuthenticationStrategyImpl(final int
for example SC_PROXY_AUTHENTICATION_REQUIRED or SC_UNAUTHORIZED challengeCode, final String for example "Proxy-Authenticate" or "WWW-Authenticate" headerName)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | authFailed(final HttpHost
authentication host. authhost, final AuthScheme authentication scheme used. authScheme, final HttpContext HTTP context. context)Implements org. |
| public void | authSucceeded(final HttpHost
authentication host. authhost, final AuthScheme authentication scheme used. authScheme, final HttpContext HTTP context. context)Implements org. |
| public Map | Returns: map: key=lower-cased auth-scheme name, value=Header that contains the challengeauthentication host. authhost, final HttpResponse HTTP response. response, final HttpContext HTTP context. context)Implements org. |
| pack-priv abstract Collection | |
| public boolean | isAuthenticationRequested(final HttpHost
authentication host. authhost, final HttpResponse HTTP response. response, final HttpContext HTTP context. context)Implements org. |
| protected boolean | |
| public Queue | select(final Map<String, Header>
collection of challenges. challenges, final HttpHost authentication host. authhost, final HttpResponse HTTP response. response, final HttpContext HTTP context. context)Implements org. AuthOption instance capable of
processing that challenge.
|
| challengeCode | back to summary |
|---|---|
| private final int challengeCode | |
| DEFAULT_SCHEME_PRIORITY | back to summary |
|---|---|
| private static final List<String> DEFAULT_SCHEME_PRIORITY | |
| headerName | back to summary |
|---|---|
| private final String headerName | |
| log | back to summary |
|---|---|
| private final Log log | |
| AuthenticationStrategyImpl | back to summary |
|---|---|
pack-priv AuthenticationStrategyImpl(final int challengeCode, final String headerName)
| |
| authFailed | back to summary |
|---|---|
| public void authFailed(final HttpHost authhost, final AuthScheme authScheme, final HttpContext context) Implements org. Doc from org. Callback invoked in case of unsuccessful authentication.
| |
| authSucceeded | back to summary |
|---|---|
| public void authSucceeded(final HttpHost authhost, final AuthScheme authScheme, final HttpContext context) Implements org. Doc from org. Callback invoked in case of successful authentication.
| |
| getChallenges | back to summary |
|---|---|
| public Map Implements org. Generates a map of challenge auth-scheme => Header entries.
| |
| getPreferredAuthSchemes | back to summary |
|---|---|
| pack-priv abstract Collection | |
| isAuthenticationRequested | back to summary |
|---|---|
| public boolean isAuthenticationRequested(final HttpHost authhost, final HttpResponse response, final HttpContext context) Implements org. Doc from org. Determines if the given HTTP response response represents an authentication challenge that was sent back as a result of authentication failure.
| |
| isCachable | back to summary |
|---|---|
| protected boolean isCachable(final AuthScheme authScheme) | |
| select | back to summary |
|---|---|
| public Queue Implements org. Doc from org. Selects one authentication challenge out of all available and
creates and generates
| |