1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Fix Javadoc warnings in spring-security-web

* Use <code> tags for external references in DelegatingMissingAuthorityAccessDeniedHandler and SwitchUserWebFilter
* Fix typo in SessionAuthenticationException
* Apply javadoc-warnings-error plugin

Closes gh-18468

Signed-off-by: rigu1 <dlsrbtla@gmail.com>
This commit is contained in:
rigu1
2026-01-10 16:02:05 +09:00
committed by Rob Winch
parent c07a2e57bd
commit 0a6883c586
4 changed files with 6 additions and 6 deletions
@@ -78,7 +78,7 @@ import org.springframework.util.Assert;
* @since 7.0
* @see AuthorizationDeniedException
* @see AuthorityAuthorizationDecision
* @see org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer
* <code>org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer</code>
*/
public final class DelegatingMissingAuthorityAccessDeniedHandler implements AccessDeniedHandler {
@@ -22,14 +22,13 @@ import org.springframework.security.core.AuthenticationException;
/**
* Thrown by an {@link SessionAuthenticationStrategy} or
* {@link ServerSessionAuthenticationStrategy} to indicate that an authentication object
* is not valid for the current session, typically because the same user has exceeded the
* number of sessions they are allowed to have concurrently.
* {@link SessionAuthenticationStrategy} to indicate that an authentication object is not
* valid for the current session, typically because the same user has exceeded the number
* of sessions they are allowed to have concurrently.
*
* @author Luke Taylor
* @since 3.0
* @see SessionAuthenticationStrategy
* @see ServerSessionAuthenticationStrategy
*/
public class SessionAuthenticationException extends AuthenticationException {
@@ -80,7 +80,7 @@ import org.springframework.web.server.WebFilterChain;
* To configure the Switch User Processing Filter, create a bean definition for the Switch
* User processing filter and add to the filterChainProxy. Note that the filter must come
* <b>after</b> the
* {@link org.springframework.security.config.web.server.SecurityWebFiltersOrder#AUTHORIZATION}
* <code>org.springframework.security.config.web.server.SecurityWebFiltersOrder#AUTHORIZATION</code>
* in the chain, in order to apply the correct constraints to the <tt>switchUserUrl</tt>.
* Example: <pre>
* SwitchUserWebFilter filter = new SwitchUserWebFilter(userDetailsService, loginSuccessHandler, failureHandler);