You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/4-warlock/4a-authn.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,19 @@ In Wings, there are 2 AuthenticationEntryPoint by default.
37
37
LoginUrl can select which form of login to provide to the user by login-forward setting.
38
38
39
39
On the EntryPoint selection, `http header` can be set to satisfy specific matching rules.
40
-
The following settings can skip basic authentication rules, see HttpBasicConfigurer.registerDefaults for details
41
-
42
-
* Without the `X-Requested-With: XMLHttpRequest` header
43
-
* Include any of the following values in `Accept`
44
-
- application/xhtml+xml
45
-
- image/*
46
-
- text/html
47
-
- text/plain
40
+
The following settings use basic authentication if any of the rules are met.
41
+
see [HttpBasicConfigurer.registerDefaults](https://github.com/spring-projects/spring-security/blob/39a80497c27b4cbab70f331f1f92eac7d555f502/config/src/main/java/org/springframework/security/config/annotation/web/configurers/HttpBasicConfigurer.java#L168-L187) for details
0 commit comments