public class LogoutFilter extends AbstractJohnsonAwareFilter
This class is used in Jira and Bitbucket Server as they don't require any special handling.
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.sal.api.ApplicationProperties |
applicationProperties |
protected IdpConfigService |
idpConfigService |
protected SsoConfigService |
ssoConfigService |
| Constructor and Description |
|---|
LogoutFilter(com.atlassian.sal.api.ApplicationProperties applicationProperties,
SsoConfigService ssoConfigService,
IdpConfigService idpConfigService,
JohnsonChecker johnsonChecker) |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilterInternal(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected boolean |
isLoginFormSoleEnabledLoginOption(SsoConfig ssoConfig,
List<IdpConfig> idpConfigs) |
protected void |
redirectToSsoLogoutPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
shouldRequestBeRedirected(javax.servlet.http.HttpServletRequest request,
List<IdpConfig> enabledIdpConfigs) |
destroy, doFilter, initprotected final com.atlassian.sal.api.ApplicationProperties applicationProperties
protected final IdpConfigService idpConfigService
protected final SsoConfigService ssoConfigService
public LogoutFilter(com.atlassian.sal.api.ApplicationProperties applicationProperties,
SsoConfigService ssoConfigService,
IdpConfigService idpConfigService,
JohnsonChecker johnsonChecker)
protected boolean isLoginFormSoleEnabledLoginOption(SsoConfig ssoConfig, List<IdpConfig> idpConfigs)
public void doFilterInternal(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilterInternal in class AbstractJohnsonAwareFilterIOExceptionjavax.servlet.ServletExceptionprotected boolean shouldRequestBeRedirected(javax.servlet.http.HttpServletRequest request,
List<IdpConfig> enabledIdpConfigs)
protected void redirectToSsoLogoutPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2023 Atlassian. All rights reserved.