Class CookieTokenLogoutSuccessHandler<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.token.CookieTokenLogoutSuccessHandler<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 CookieTokenLogoutSuccessHandler<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 that removes the token cookie.

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • CookieTokenLogoutSuccessHandler

      public CookieTokenLogoutSuccessHandler()

      Creates a cookie token logout success handler with default path and token cookie name.

    • CookieTokenLogoutSuccessHandler

      public CookieTokenLogoutSuccessHandler(String path)

      Creates a cookie token logout success handler with the specified path and the default token cookie name.

      Parameters:
      path - the token cookie path
    • CookieTokenLogoutSuccessHandler

      public CookieTokenLogoutSuccessHandler(String path, String tokenCookie)

      Creates a cookie token logout success handler with specified path and token cookie name.

      Parameters:
      path - the token cookie path
      tokenCookie - the token cookie name
  • Method Details