Class RedirectLogoutSuccessHandler<A extends Authentication,B extends Identity,C extends AccessController,D extends SecurityContext<B,C>,E extends Exchange<D>>

java.lang.Object
io.inverno.mod.security.http.form.RedirectLogoutSuccessHandler<A,B,C,D,E>
Type Parameters:
A - the authentication type
B - the identity type
C - the access controller type
D - the security context type
E - the exchange type
All Implemented Interfaces:
LogoutSuccessHandler<A,B,C,D,E>

public class RedirectLogoutSuccessHandler<A extends Authentication,B extends Identity,C extends AccessController,D extends SecurityContext<B,C>,E extends Exchange<D>> extends Object implements LogoutSuccessHandler<A,B,C,D,E>

A logout success handler implementation that redirects the client (302) after a successful logout.

Since:
1.5
Author:
Jeremy Kuhn
  • Field Details

    • DEFAULT_LOGOUT_SUCCESS_URI

      public static final String DEFAULT_LOGOUT_SUCCESS_URI
      The default logout success URI: /.
      See Also:
  • Constructor Details

    • RedirectLogoutSuccessHandler

      public RedirectLogoutSuccessHandler()

      Creates a redirect logout success handler which redirects the client to the default logout success URI.

    • RedirectLogoutSuccessHandler

      public RedirectLogoutSuccessHandler(String loginSuccessUri)

      Creates a redirect logout success handler which redirects the client to the specified logout success URI.

      Parameters:
      loginSuccessUri - the URI where to redirect the client after a successful logout
  • Method Details