Skip to content

Commit 839be30

Browse files
committed
Polish gh-16280
1 parent f92cbfd commit 839be30

File tree

1 file changed

+3
-5
lines changed
  • docs/modules/ROOT/pages/servlet/authentication/passwords

1 file changed

+3
-5
lines changed

docs/modules/ROOT/pages/servlet/authentication/passwords/basic.adoc

+3-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ The `RequestCache` is typically a `NullRequestCache` that does not save the requ
2424

2525
[NOTE]
2626
====
27-
The default HTTP Basic Auth Provider will suppress both Response body and `WWW-Authenticate` header in the 401 response when
28-
the request was made with a `X-Requested-By: XMLHttpRequest` header. This allows frontends to implement their own
29-
authentication code, instead of triggering the browser login dialog.
30-
To override, implement your own
31-
javadoc:org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint[] .
27+
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.
28+
This allows frontends to implement their own authentication code, instead of triggering the browser login dialog.
29+
To override, implement your own javadoc:org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint[].
3230
====
3331

3432
When a client receives the `WWW-Authenticate` header, it knows it should retry with a username and password.

0 commit comments

Comments
 (0)