Module io.inverno.mod.security.http
Class BasicSessionLoginSuccessHandler<A extends Authentication,B extends AuthSessionData<A>,C extends BasicSessionContext<B>,D extends Exchange<C>>
java.lang.Object
io.inverno.mod.security.http.session.BasicSessionLoginSuccessHandler<A,B,C,D>
- Type Parameters:
A- the authentication typeB- the authentication session data typeC- the basic session context typeD- the exchange type
- All Implemented Interfaces:
LoginSuccessHandler<A,C, D>
public class BasicSessionLoginSuccessHandler<A extends Authentication,B extends AuthSessionData<A>,C extends BasicSessionContext<B>,D extends Exchange<C>>
extends Object
implements LoginSuccessHandler<A,C,D>
A login success handler that stores the successful authentication in a basic session.
The session data type must implement AuthSessionData for the handler to be able to set the authentication in the session.
- Since:
- 1.13
- Author:
- Jeremy Kuhn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleLoginSuccess(D exchange, A authentication) Handles successful authentication.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.inverno.mod.security.http.login.LoginSuccessHandler
andThen, compose
-
Constructor Details
-
BasicSessionLoginSuccessHandler
-
-
Method Details
-
handleLoginSuccess
Description copied from interface:LoginSuccessHandlerHandles successful authentication.
- Specified by:
handleLoginSuccessin interfaceLoginSuccessHandler<A extends Authentication,B extends AuthSessionData<A>, C extends BasicSessionContext<B>> - Parameters:
exchange- the exchangeauthentication- the authentication resulting from the authentication process- Returns:
- a mono which completes when the authentication has been handled
-