Class ElasticsearchAuthenticationProcessingError

All Implemented Interfaces:
Serializable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

public class ElasticsearchAuthenticationProcessingError extends ElasticsearchSecurityException
Used to indicate that the authentication process encountered a server-side error (5xx) that prevented the credentials verification. The presented client credentials might or might not be valid. This differs from an authentication failure error in subtle ways. This should be preferred when the issue hindering credentials verification is transient, such as network congestion or overloaded instances, but not in cases of misconfiguration. However this distinction is further blurred because in certain configurations and for certain credential types, the same credential can be validated in multiple ways, only some of which might experience transient problems. When in doubt, rely on the implicit behavior of 401 authentication failure.
See Also:
  • Constructor Details