This commit is contained in:
Tran Ngoc Nhan 2024-11-01 21:49:53 +07:00 committed by Rob Winch
parent 87bd62b9c6
commit 571c7c81a4
6 changed files with 13 additions and 13 deletions

View File

@ -338,7 +338,7 @@ public abstract class AbstractAuthenticationProcessingFilter extends GenericFilt
* <ol> * <ol>
* <li>Clears the {@link SecurityContextHolder}</li> * <li>Clears the {@link SecurityContextHolder}</li>
* <li>Stores the exception in the session (if it exists or * <li>Stores the exception in the session (if it exists or
* <tt>allowSesssionCreation</tt> is set to <tt>true</tt>)</li> * <tt>allowSessionCreation</tt> is set to <tt>true</tt>)</li>
* <li>Informs the configured <tt>RememberMeServices</tt> of the failed login</li> * <li>Informs the configured <tt>RememberMeServices</tt> of the failed login</li>
* <li>Delegates additional behaviour to the * <li>Delegates additional behaviour to the
* {@link AuthenticationFailureHandler}.</li> * {@link AuthenticationFailureHandler}.</li>

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -174,7 +174,7 @@ public class ConcurrentSessionControlAuthenticationStrategy
/** /**
* Sets the <tt>maxSessions</tt> property. The default value is 1. Use -1 for * Sets the <tt>maxSessions</tt> property. The default value is 1. Use -1 for
* unlimited sessions. * 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. * open simultaneously.
*/ */
public void setMaximumSessions(int maximumSessions) { public void setMaximumSessions(int maximumSessions) {

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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. * 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() { protected boolean isAsyncSecuritySupported() {
return true; return true;

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ import org.springframework.web.server.ServerWebExchange;
* </p> * </p>
* *
* <p> * <p>
* For further details pleaes consult <a href="https://www.w3.org/TR/clear-site-data/">W3C * For further details please consult <a href="https://www.w3.org/TR/clear-site-data/">W3C
* Documentation</a>. * Documentation</a>.
* </p> * </p>
* *

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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; 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. * directives.
* *
* @author Vedran Pavic * @author Vedran Pavic

View File

@ -25,7 +25,7 @@ package org.springframework.security.web.webauthn.api;
* *
* There is no <a href= * There is no <a href=
* "https://www.w3.org/TR/webauthn-3/#dom-authenticatorselectioncriteria-requireresidentkey">requireResidentKey</a> * "https://www.w3.org/TR/webauthn-3/#dom-authenticatorselectioncriteria-requireresidentkey">requireResidentKey</a>
* 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 * @author Rob Winch
* @since 6.4 * @since 6.4
@ -40,7 +40,7 @@ public final class AuthenticatorSelectionCriteria {
private final UserVerificationRequirement userVerification; private final UserVerificationRequirement userVerification;
// NOTE: There is no requireResidentKey property because it is only for backward // 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 * Creates a new instance
@ -79,7 +79,7 @@ public final class AuthenticatorSelectionCriteria {
* to create a <a href= * to create a <a href=
* "https://www.w3.org/TR/webauthn-3/#client-side-discoverable-credential">client-side * "https://www.w3.org/TR/webauthn-3/#client-side-discoverable-credential">client-side
* discoverable credential</a>. * discoverable credential</a>.
* @return the residenty key requirement * @return the resident key requirement
*/ */
public ResidentKeyRequirement getResidentKey() { public ResidentKeyRequirement getResidentKey() {
return this.residentKey; return this.residentKey;