public class AuthenticationWebFilter
extends java.lang.Object
implements org.springframework.web.server.WebFilter
| Constructor and Description |
|---|
AuthenticationWebFilter(org.springframework.security.authentication.ReactiveAuthenticationManager authenticationManager) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
void |
setAuthenticationConverter(java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<org.springframework.security.core.Authentication>> authenticationConverter) |
void |
setAuthenticationFailureHandler(ServerAuthenticationFailureHandler authenticationFailureHandler) |
void |
setAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler authenticationSuccessHandler) |
void |
setRequiresAuthenticationMatcher(ServerWebExchangeMatcher requiresAuthenticationMatcher) |
void |
setSecurityContextRepository(ServerSecurityContextRepository securityContextRepository) |
public AuthenticationWebFilter(org.springframework.security.authentication.ReactiveAuthenticationManager authenticationManager)
public reactor.core.publisher.Mono<java.lang.Void> filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain)
filter in interface org.springframework.web.server.WebFilterpublic void setSecurityContextRepository(ServerSecurityContextRepository securityContextRepository)
public void setAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler authenticationSuccessHandler)
public void setAuthenticationConverter(java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<org.springframework.security.core.Authentication>> authenticationConverter)
public void setAuthenticationFailureHandler(ServerAuthenticationFailureHandler authenticationFailureHandler)
public void setRequiresAuthenticationMatcher(ServerWebExchangeMatcher requiresAuthenticationMatcher)