Skip to content

Commit f289ef8

Browse files
ankurpathakjzheaux
authored andcommitted
Fixes Documentation Problem
Fixes documentation problem of Anonymous Authentication in ServerHttpSecurity Fixes: gh-6327
1 parent d77b12d commit f289ef8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java

+5-4
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,7 @@ public CorsSpec cors() {
432432
}
433433

434434
/**
435-
* @since 5.2.0
436-
* @author Ankur Pathak
437-
* Enables and Configures annonymous authentication. Anonymous Authentication is disabled by default.
435+
* Enables and Configures anonymous authentication. Anonymous Authentication is disabled by default.
438436
*
439437
* <pre class="code">
440438
* &#064;Bean
@@ -446,6 +444,9 @@ public CorsSpec cors() {
446444
* return http.build();
447445
* }
448446
* </pre>
447+
* @return the {@link AnonymousSpec} to customize
448+
* @since 5.2.0
449+
* @author Ankur Pathak
449450
*/
450451
public AnonymousSpec anonymous(){
451452
if (this.anonymous == null) {
@@ -2661,7 +2662,7 @@ public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
26612662
}
26622663

26632664
/**
2664-
* Configures annonymous authentication
2665+
* Configures anonymous authentication
26652666
* @author Ankur Pathak
26662667
* @since 5.2.0
26672668
*/

0 commit comments

Comments
 (0)