Package io.meeds.oauth.filter
Class OAuthLogoutFilter
java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
io.meeds.oauth.filter.OAuthLogoutFilter
- All Implemented Interfaces:
jakarta.servlet.Filter,org.gatein.sso.agent.filter.api.SSOInterceptor
public class OAuthLogoutFilter
extends org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.exoplatform.services.log.Logstatic final StringFields inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
PORTAL_CONTAINER_SUBSTITUTION_PATTERNFields inherited from class org.exoplatform.container.web.AbstractFilter
config, servletContextName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain filterChain) protected <T> TgetService(Class<T> clazz) protected voidinitImpl()static booleanisOAuthLogoutInProgress(jakarta.servlet.http.HttpServletRequest request) static booleanisPortalLogoutInProgress(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
afterInit, getExoContainer, getInitParameter, initWithParamsMethods inherited from class org.exoplatform.container.web.AbstractFilter
getContainer, getServletContext, init, requirePortalEnvironmentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.Filter
destroy, init
-
Field Details
-
LOG
protected final org.exoplatform.services.log.Log LOG -
OAUTH_LOGOUT_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
OAuthLogoutFilter
public OAuthLogoutFilter()
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain filterChain) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
getService
-
isPortalLogoutInProgress
public static boolean isPortalLogoutInProgress(jakarta.servlet.http.HttpServletRequest request) -
initImpl
protected void initImpl()- Specified by:
initImplin classorg.gatein.sso.agent.filter.api.AbstractSSOInterceptor
-
isOAuthLogoutInProgress
public static boolean isOAuthLogoutInProgress(jakarta.servlet.http.HttpServletRequest request)
-