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

View File

@ -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">
* &#064;Bean * &#064;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
*/ */