Module io.inverno.mod.security.http
Class SessionLogoutSuccessHandler<A extends Authentication,B extends Identity,C extends AccessController,D,E extends Session<D>,F extends SessionContext<D,E> & SecurityContext<B,C>,G extends Exchange<F>>
java.lang.Object
io.inverno.mod.security.http.session.SessionLogoutSuccessHandler<A,B,C,D,E,F,G>
- Type Parameters:
A
- the authentication typeB
- the identity typeC
- the access controller typeD
- the session data typeE
- the session typeF
- the session security exchange context typeG
- the exchange type
- All Implemented Interfaces:
LogoutSuccessHandler<A,
B, C, F, G>
public class SessionLogoutSuccessHandler<A extends Authentication,B extends Identity,C extends AccessController,D,E extends Session<D>,F extends SessionContext<D,E> & SecurityContext<B,C>,G extends Exchange<F>>
extends Object
implements LogoutSuccessHandler<A,B,C,F,G>
A logout success handler that invalidates the session.
- Since:
- 1.13
- Author:
- Jeremy Kuhn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleLogoutSuccess
(G exchange, A authentication) Handles successful logout.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.inverno.mod.security.http.login.LogoutSuccessHandler
andThen, compose
-
Constructor Details
-
Method Details
-
handleLogoutSuccess
Description copied from interface:LogoutSuccessHandler
Handles successful logout.
- Specified by:
handleLogoutSuccess
in interfaceLogoutSuccessHandler<A extends Authentication,
B extends Identity, C extends AccessController, D, E extends Session<D>> - Parameters:
exchange
- the exchangeauthentication
- the authentication- Returns:
- a mono which completes when the logout has been handled
-