File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
docs/manual/src/docs/asciidoc/_includes/servlet/authentication/unpwd/input Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -7,25 +7,22 @@ This section provides details on how Spring Security provides support for https:
7
7
Spring Security's HTTP Basic Authentication support in is enabled by default.
8
8
However, as soon as any servlet based configuration is provided, HTTP Basic must be explicitly provided.
9
9
10
- A minimal, explicit Java configuration can be found below:
10
+ A minimal, explicit configuration can be found below:
11
11
12
- .HTTP Basic Java Configuration
12
+ .Explicit HTTP Basic Configuration
13
13
====
14
- [source,java]
14
+ [source,java,role="primary"]
15
+ .Java
15
16
----
16
17
protected void configure(HttpSecurity http) {
17
18
http
18
19
// ...
19
20
.httpBasic(withDefaults());
20
21
}
21
22
----
22
- ====
23
-
24
- A minimal XML configuration can be found below:
25
23
26
- .HTTP Basic XML Configuration
27
- ====
28
- [source,xml]
24
+ [source,xml,role="secondary"]
25
+ .XML
29
26
----
30
27
<http>
31
28
<!-- ... -->
You can’t perform that action at this time.
0 commit comments