Class RedirectServerLogoutSuccessHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<java.lang.Void> onLogoutSuccess​(WebFilterExchange exchange, org.springframework.security.core.Authentication authentication)
      Invoked after log out was successful
      void setLogoutSuccessUrl​(java.net.URI logoutSuccessUrl)
      The URL to redirect to after successfully logging out.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_LOGOUT_SUCCESS_URL

        public static final java.lang.String DEFAULT_LOGOUT_SUCCESS_URL
        See Also:
        Constant Field Values
    • Constructor Detail

      • RedirectServerLogoutSuccessHandler

        public RedirectServerLogoutSuccessHandler()
    • Method Detail

      • onLogoutSuccess

        public reactor.core.publisher.Mono<java.lang.Void> onLogoutSuccess​(WebFilterExchange exchange,
                                                                           org.springframework.security.core.Authentication authentication)
        Description copied from interface: ServerLogoutSuccessHandler
        Invoked after log out was successful
        Specified by:
        onLogoutSuccess in interface ServerLogoutSuccessHandler
        Parameters:
        exchange - the exchange
        authentication - the Authentication
        Returns:
        a completion notification (success or error)
      • setLogoutSuccessUrl

        public void setLogoutSuccessUrl​(java.net.URI logoutSuccessUrl)
        The URL to redirect to after successfully logging out.
        Parameters:
        logoutSuccessUrl - the url to redirect to. Default is "/login?logout".