diff --git a/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java b/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java
index 11d076f760..af9b55f708 100644
--- a/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java
+++ b/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java
@@ -338,7 +338,7 @@ public abstract class AbstractAuthenticationProcessingFilter extends GenericFilt
*
* - Clears the {@link SecurityContextHolder}
* - Stores the exception in the session (if it exists or
- * allowSesssionCreation is set to true)
+ * allowSessionCreation is set to true)
* - Informs the configured RememberMeServices of the failed login
* - Delegates additional behaviour to the
* {@link AuthenticationFailureHandler}.
diff --git a/web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java b/web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java
index eac2f82f4e..8d528f5621 100644
--- a/web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java
+++ b/web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 the original author or authors.
+ * Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -174,7 +174,7 @@ public class ConcurrentSessionControlAuthenticationStrategy
/**
* Sets the maxSessions property. The default value is 1. Use -1 for
* unlimited sessions.
- * @param maximumSessions the maximimum number of permitted sessions a user can have
+ * @param maximumSessions the maximum number of permitted sessions a user can have
* open simultaneously.
*/
public void setMaximumSessions(int maximumSessions) {
diff --git a/web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java b/web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java
index 5b9a66bda7..ca3b3d5dc2 100644
--- a/web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java
+++ b/web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2022 the original author or authors.
+ * Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -285,9 +285,9 @@ public abstract class AbstractSecurityWebApplicationInitializer implements WebAp
}
/**
- * Determine if the springSecurityFilterChain should be marked as supporting asynch.
+ * Determine if the springSecurityFilterChain should be marked as supporting async.
* Default is true.
- * @return true if springSecurityFilterChain should be marked as supporting asynch
+ * @return true if springSecurityFilterChain should be marked as supporting async
*/
protected boolean isAsyncSecuritySupported() {
return true;
diff --git a/web/src/main/java/org/springframework/security/web/server/header/ClearSiteDataServerHttpHeadersWriter.java b/web/src/main/java/org/springframework/security/web/server/header/ClearSiteDataServerHttpHeadersWriter.java
index e28a69424a..10f4fc6db2 100644
--- a/web/src/main/java/org/springframework/security/web/server/header/ClearSiteDataServerHttpHeadersWriter.java
+++ b/web/src/main/java/org/springframework/security/web/server/header/ClearSiteDataServerHttpHeadersWriter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2019 the original author or authors.
+ * Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.web.server.ServerWebExchange;
*
*
*
- * For further details pleaes consult W3C
+ * For further details please consult W3C
* Documentation.
*
*
diff --git a/web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java b/web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java
index f72bc5e14d..f5efe112f2 100644
--- a/web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java
+++ b/web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2018 the original author or authors.
+ * Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.util.Assert;
import org.springframework.web.server.ServerWebExchange;
/**
- * Writes the {@code Contet-Security-Policy} response header with configured policy
+ * Writes the {@code Content-Security-Policy} response header with configured policy
* directives.
*
* @author Vedran Pavic
diff --git a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorSelectionCriteria.java b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorSelectionCriteria.java
index 6ff7c98600..011e539d82 100644
--- a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorSelectionCriteria.java
+++ b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorSelectionCriteria.java
@@ -25,7 +25,7 @@ package org.springframework.security.web.webauthn.api;
*
* There is no requireResidentKey
- * property because it is only for backwards compatability with WebAuthn Level 1.
+ * property because it is only for backwards compatibility with WebAuthn Level 1.
*
* @author Rob Winch
* @since 6.4
@@ -40,7 +40,7 @@ public final class AuthenticatorSelectionCriteria {
private final UserVerificationRequirement userVerification;
// NOTE: There is no requireResidentKey property because it is only for backward
- // compatability with WebAuthn Level 1
+ // compatibility with WebAuthn Level 1
/**
* Creates a new instance
@@ -79,7 +79,7 @@ public final class AuthenticatorSelectionCriteria {
* to create a client-side
* discoverable credential.
- * @return the residenty key requirement
+ * @return the resident key requirement
*/
public ResidentKeyRequirement getResidentKey() {
return this.residentKey;