Package com.vaadin.sso.core
Class BackChannelLogoutFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
com.vaadin.sso.core.BackChannelLogoutFilter
- All Implemented Interfaces:
jakarta.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
@Deprecated(since="3.1",
forRemoval=true)
public class BackChannelLogoutFilter
extends org.springframework.web.filter.GenericFilterBean
Deprecated, for removal: This API element is subject to removal in a future version.
Use built-in Spring Security support for OpenID Connect
Back-Channel Logout
A filter responsible to handle OpenID Connect Back-Channel Logout requests.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Field Summary
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger -
Constructor Summary
ConstructorsConstructorDescriptionBackChannelLogoutFilter(org.springframework.security.core.session.SessionRegistry sessionRegistry, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the filter. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.security.web.util.matcher.RequestMatcherDeprecated, for removal: This API element is subject to removal in a future version.Gets the request-matcher configured for this filter.voidsetBackChannelLogoutRoute(String backChannelLogoutRoute) Deprecated, for removal: This API element is subject to removal in a future version.Sets the back-channel logout route to match for this filter to handle the requests.voidsetRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher logoutRequestMatcher) Deprecated, for removal: This API element is subject to removal in a future version.Sets the request-matcher for this filter.Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Constructor Details
-
BackChannelLogoutFilter
public BackChannelLogoutFilter(org.springframework.security.core.session.SessionRegistry sessionRegistry, org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of the filter.- Parameters:
sessionRegistry- the session registry,not nullclientRegistrationRepository- the client-registration repository,not nulleventPublisher- the event-publisher to publish logout events,not null
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionjakarta.servlet.ServletException
-
getRequestMatcher
public org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher()Deprecated, for removal: This API element is subject to removal in a future version.Gets the request-matcher configured for this filter.- Returns:
- this filter's request-matcher, not
null
-
setRequestMatcher
public void setRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher logoutRequestMatcher) Deprecated, for removal: This API element is subject to removal in a future version.Sets the request-matcher for this filter.- Parameters:
logoutRequestMatcher- the request-matcher, notnull
-
setBackChannelLogoutRoute
Deprecated, for removal: This API element is subject to removal in a future version.Sets the back-channel logout route to match for this filter to handle the requests.- Parameters:
backChannelLogoutRoute- the route to match, notnull
-