Fixes Documentation Problem

Fixes documentation problem of Anonymous Authentication
in ServerHttpSecurity

Fixes: gh-6327
This commit is contained in:
Ankur Pathak 2018-12-22 20:29:02 +05:30 committed by Josh Cummings
parent d77b12d229
commit f289ef8689
1 changed files with 5 additions and 4 deletions

View File

@ -432,9 +432,7 @@ public class ServerHttpSecurity {
}
/**
* @since 5.2.0
* @author Ankur Pathak
* Enables and Configures annonymous authentication. Anonymous Authentication is disabled by default.
* Enables and Configures anonymous authentication. Anonymous Authentication is disabled by default.
*
* <pre class="code">
* &#064;Bean
@ -446,6 +444,9 @@ public class ServerHttpSecurity {
* return http.build();
* }
* </pre>
* @return the {@link AnonymousSpec} to customize
* @since 5.2.0
* @author Ankur Pathak
*/
public AnonymousSpec anonymous(){
if (this.anonymous == null) {
@ -2661,7 +2662,7 @@ public class ServerHttpSecurity {
}
/**
* Configures annonymous authentication
* Configures anonymous authentication
* @author Ankur Pathak
* @since 5.2.0
*/