public class RedirectServerAuthenticationSuccessHandler extends java.lang.Object implements ServerAuthenticationSuccessHandler
| Constructor and Description |
|---|
RedirectServerAuthenticationSuccessHandler() |
RedirectServerAuthenticationSuccessHandler(java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
onAuthenticationSuccess(WebFilterExchange webFilterExchange,
org.springframework.security.core.Authentication authentication) |
void |
setLocation(java.net.URI location)
Where the user is redirected to upon authentication success
|
void |
setRedirectStrategy(ServerRedirectStrategy redirectStrategy)
The RedirectStrategy to use.
|
void |
setRequestCache(ServerRequestCache requestCache) |
public RedirectServerAuthenticationSuccessHandler()
public RedirectServerAuthenticationSuccessHandler(java.lang.String location)
public void setRequestCache(ServerRequestCache requestCache)
public reactor.core.publisher.Mono<java.lang.Void> onAuthenticationSuccess(WebFilterExchange webFilterExchange, org.springframework.security.core.Authentication authentication)
onAuthenticationSuccess in interface ServerAuthenticationSuccessHandlerpublic void setLocation(java.net.URI location)
location - the location to redirect to. The default is "/"public void setRedirectStrategy(ServerRedirectStrategy redirectStrategy)
redirectStrategy - the strategy to use. Default is DefaultRedirectStrategy.