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.
@FunctionalInterface public interface LogoutLogic
Logout logic for the application and the identity provider.- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
perform(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, java.lang.String defaultUrl, java.lang.String logoutUrlPattern, java.lang.Boolean localLogout, java.lang.Boolean destroySession, java.lang.Boolean centralLogout)
Perform the application logout logic.
-
-
-
Method Detail
-
perform
java.lang.Object perform(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, java.lang.String defaultUrl, java.lang.String logoutUrlPattern, java.lang.Boolean localLogout, java.lang.Boolean destroySession, java.lang.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
-
-