Skip to content

Commit 571c7c8

Browse files
ngocnhan-tran1996rwinch
authored andcommitted
Fix typo
1 parent 87bd62b commit 571c7c8

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ protected void successfulAuthentication(HttpServletRequest request, HttpServletR
338338
* <ol>
339339
* <li>Clears the {@link SecurityContextHolder}</li>
340340
* <li>Stores the exception in the session (if it exists or
341-
* <tt>allowSesssionCreation</tt> is set to <tt>true</tt>)</li>
341+
* <tt>allowSessionCreation</tt> is set to <tt>true</tt>)</li>
342342
* <li>Informs the configured <tt>RememberMeServices</tt> of the failed login</li>
343343
* <li>Delegates additional behaviour to the
344344
* {@link AuthenticationFailureHandler}.</li>

web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -174,7 +174,7 @@ public void setExceptionIfMaximumExceeded(boolean exceptionIfMaximumExceeded) {
174174
/**
175175
* Sets the <tt>maxSessions</tt> property. The default value is 1. Use -1 for
176176
* unlimited sessions.
177-
* @param maximumSessions the maximimum number of permitted sessions a user can have
177+
* @param maximumSessions the maximum number of permitted sessions a user can have
178178
* open simultaneously.
179179
*/
180180
public void setMaximumSessions(int maximumSessions) {

web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -285,9 +285,9 @@ protected EnumSet<DispatcherType> getSecurityDispatcherTypes() {
285285
}
286286

287287
/**
288-
* Determine if the springSecurityFilterChain should be marked as supporting asynch.
288+
* Determine if the springSecurityFilterChain should be marked as supporting async.
289289
* Default is true.
290-
* @return true if springSecurityFilterChain should be marked as supporting asynch
290+
* @return true if springSecurityFilterChain should be marked as supporting async
291291
*/
292292
protected boolean isAsyncSecuritySupported() {
293293
return true;

web/src/main/java/org/springframework/security/web/server/header/ClearSiteDataServerHttpHeadersWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
2727
* </p>
2828
*
2929
* <p>
30-
* For further details pleaes consult <a href="https://www.w3.org/TR/clear-site-data/">W3C
30+
* For further details please consult <a href="https://www.w3.org/TR/clear-site-data/">W3C
3131
* Documentation</a>.
3232
* </p>
3333
*

web/src/main/java/org/springframework/security/web/server/header/ContentSecurityPolicyServerHttpHeadersWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
2323
import org.springframework.web.server.ServerWebExchange;
2424

2525
/**
26-
* Writes the {@code Contet-Security-Policy} response header with configured policy
26+
* Writes the {@code Content-Security-Policy} response header with configured policy
2727
* directives.
2828
*
2929
* @author Vedran Pavic

web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorSelectionCriteria.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* There is no <a href=
2727
* "https://www.w3.org/TR/webauthn-3/#dom-authenticatorselectioncriteria-requireresidentkey">requireResidentKey</a>
28-
* property because it is only for backwards compatability with WebAuthn Level 1.
28+
* property because it is only for backwards compatibility with WebAuthn Level 1.
2929
*
3030
* @author Rob Winch
3131
* @since 6.4
@@ -40,7 +40,7 @@ public final class AuthenticatorSelectionCriteria {
4040
private final UserVerificationRequirement userVerification;
4141

4242
// NOTE: There is no requireResidentKey property because it is only for backward
43-
// compatability with WebAuthn Level 1
43+
// compatibility with WebAuthn Level 1
4444

4545
/**
4646
* Creates a new instance
@@ -79,7 +79,7 @@ public AuthenticatorAttachment getAuthenticatorAttachment() {
7979
* to create a <a href=
8080
* "https://www.w3.org/TR/webauthn-3/#client-side-discoverable-credential">client-side
8181
* discoverable credential</a>.
82-
* @return the residenty key requirement
82+
* @return the resident key requirement
8383
*/
8484
public ResidentKeyRequirement getResidentKey() {
8585
return this.residentKey;

0 commit comments

Comments
 (0)