diff --git a/docs/modules/ROOT/pages/servlet/authentication/passwords/basic.adoc b/docs/modules/ROOT/pages/servlet/authentication/passwords/basic.adoc index 4e24d44e572..bfeee9bb10c 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/passwords/basic.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/passwords/basic.adoc @@ -24,7 +24,7 @@ The `RequestCache` is typically a `NullRequestCache` that does not save the requ [NOTE] ==== -The default HTTP Basic Auth Provider will suppress both Response body and `WWW-Authenticate` header in the 401 response when the request was made with a `X-Requested-By: XMLHttpRequest` header. +The default HTTP Basic Auth Provider will suppress both Response body and `WWW-Authenticate` header in the 401 response when the request was made with a `X-Requested-With: XMLHttpRequest` header. This allows frontends to implement their own authentication code, instead of triggering the browser login dialog. To override, implement your own javadoc:org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint[]. ====