Package org.pac4j.core.engine
Interface LogoutLogic
- All Known Implementing Classes:
DefaultLogoutLogic
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Logout logic for the application and the identity provider.
- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptionperform
(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String defaultUrl, String logoutUrlPattern, Boolean localLogout, Boolean destroySession, Boolean centralLogout) Perform the application logout logic.
-
Method Details
-
perform
Object perform(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String defaultUrl, String logoutUrlPattern, Boolean localLogout, Boolean destroySession, Boolean centralLogout) Perform the application logout logic.- Parameters:
context
- the web contextsessionStore
- the session storeconfig
- the security configurationhttpActionAdapter
- the HTTP action adapterdefaultUrl
- the default urllogoutUrlPattern
- the logout url patternlocalLogout
- whether a local logout is requireddestroySession
- whether the web session must be destroyedcentralLogout
- whether a central logout is required- Returns:
- the resulting action for logout
-