List of usage examples for org.apache.http.impl.client TargetAuthenticationStrategy subclass-usage
From source file org.elasticsearch.client.PersistentCredentialsAuthenticationStrategy.java
/**
* An {@link org.apache.http.client.AuthenticationStrategy} implementation that does <em>not</em> perform
* any special handling if authentication fails.
* The default handler in Apache HTTP client mimics standard browser behaviour of clearing authentication
* credentials if it receives a 401 response from the server. While this can be useful for browser, it is
* rarely the desired behaviour with the Elasticsearch REST API.
From source file microsoft.exchange.webservices.data.CookieProcessingTargetAuthenticationStrategy.java
/** * TargetAuthenticationStrategy that also processes the cookies in HTTP 401 responses. While not fully * according to the RFC's, this is often necessary to ensure good load balancing behaviour (e.g., TMG server * requires it for authentication, where it sends a HTTP 401 with a new Cookie after 5 minutes of inactivity) */ public class CookieProcessingTargetAuthenticationStrategy extends TargetAuthenticationStrategy {
From source file microsoft.exchange.webservices.data.core.CookieProcessingTargetAuthenticationStrategy.java
/** * TargetAuthenticationStrategy that also processes the cookies in HTTP 401 response. While not fully * according to the RFC's, this is often necessary to ensure good load balancing behaviour (e.g., TMG server * requires it for authentication, where it sends a HTTP 401 with a new Cookie after 5 minutes of inactivity) */ public class CookieProcessingTargetAuthenticationStrategy extends TargetAuthenticationStrategy {