mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-01-17 11:56:48 +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:
parent
c07a2e57bd
commit
0a6883c586
@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id 'security-nullability'
|
||||
id 'javadoc-warnings-error'
|
||||
}
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user