Class RedirectServerAuthenticationSuccessHandler

    • Constructor Detail

      • RedirectServerAuthenticationSuccessHandler

        public RedirectServerAuthenticationSuccessHandler()
        Creates a new instance with location of "/"
      • RedirectServerAuthenticationSuccessHandler

        public RedirectServerAuthenticationSuccessHandler​(java.lang.String location)
        Creates a new instance with the specified location
        Parameters:
        location - the location to redirect if the no request is cached in setRequestCache(ServerRequestCache)
    • Method Detail

      • setLocation

        public void setLocation​(java.net.URI location)
        Where the user is redirected to upon authentication success
        Parameters:
        location - the location to redirect to. The default is "/"
      • setRedirectStrategy

        public void setRedirectStrategy​(ServerRedirectStrategy redirectStrategy)
        The RedirectStrategy to use.
        Parameters:
        redirectStrategy - the strategy to use. Default is DefaultRedirectStrategy.