Package org.pac4j.core.engine
Interface LogoutLogic<R,C extends WebContext>
-
- All Known Implementing Classes:
DefaultLogoutLogic
public interface LogoutLogic<R,C extends WebContext>
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 R
perform(C context, Config config, HttpActionAdapter<R,C> httpActionAdapter, String defaultUrl, String logoutUrlPattern, Boolean localLogout, Boolean destroySession, Boolean centralLogout)
Perform the application logout logic.
-
-
-
Method Detail
-
perform
R perform(C context, Config config, HttpActionAdapter<R,C> httpActionAdapter, String defaultUrl, String logoutUrlPattern, Boolean localLogout, Boolean destroySession, Boolean centralLogout)
Perform the application logout logic.- Parameters:
context
- the web contextconfig
- 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
-
-