public class AuthenticationWebFilter
extends java.lang.Object
implements org.springframework.web.server.WebFilter
Constructor and Description |
---|
AuthenticationWebFilter(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<Authentication>> authenticationConverter) |
void |
setRequiresAuthenticationMatcher(ServerWebExchangeMatcher requiresAuthenticationMatcher) |
void |
setServerAuthenticationFailureHandler(ServerAuthenticationFailureHandler serverAuthenticationFailureHandler) |
void |
setServerAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler serverAuthenticationSuccessHandler) |
void |
setServerSecurityContextRepository(ServerSecurityContextRepository serverSecurityContextRepository) |
public AuthenticationWebFilter(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.WebFilter
public void setServerSecurityContextRepository(ServerSecurityContextRepository serverSecurityContextRepository)
public void setServerAuthenticationSuccessHandler(ServerAuthenticationSuccessHandler serverAuthenticationSuccessHandler)
public void setAuthenticationConverter(java.util.function.Function<org.springframework.web.server.ServerWebExchange,reactor.core.publisher.Mono<Authentication>> authenticationConverter)
public void setServerAuthenticationFailureHandler(ServerAuthenticationFailureHandler serverAuthenticationFailureHandler)
public void setRequiresAuthenticationMatcher(ServerWebExchangeMatcher requiresAuthenticationMatcher)