diff --git a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java index f9f07f83b4..7af2c3a3bf 100644 --- a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java +++ b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java @@ -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. * *
* @Bean
@@ -446,6 +444,9 @@ public class ServerHttpSecurity {
* return http.build();
* }
*
+ * @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
*/