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