mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
Fixes Documentation Problem
Fixes documentation problem of Anonymous Authentication in ServerHttpSecurity Fixes: gh-6327
This commit is contained in:
parent
d77b12d229
commit
f289ef8689
@ -432,9 +432,7 @@ public class ServerHttpSecurity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 5.2.0
|
* Enables and Configures anonymous authentication. Anonymous Authentication is disabled by default.
|
||||||
* @author Ankur Pathak
|
|
||||||
* Enables and Configures annonymous authentication. Anonymous Authentication is disabled by default.
|
|
||||||
*
|
*
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Bean
|
* @Bean
|
||||||
@ -446,6 +444,9 @@ public class ServerHttpSecurity {
|
|||||||
* return http.build();
|
* return http.build();
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
|
* @return the {@link AnonymousSpec} to customize
|
||||||
|
* @since 5.2.0
|
||||||
|
* @author Ankur Pathak
|
||||||
*/
|
*/
|
||||||
public AnonymousSpec anonymous(){
|
public AnonymousSpec anonymous(){
|
||||||
if (this.anonymous == null) {
|
if (this.anonymous == null) {
|
||||||
@ -2661,7 +2662,7 @@ public class ServerHttpSecurity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures annonymous authentication
|
* Configures anonymous authentication
|
||||||
* @author Ankur Pathak
|
* @author Ankur Pathak
|
||||||
* @since 5.2.0
|
* @since 5.2.0
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user