public abstract class AuthenticationFilter extends AbstractJohnsonAwareFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
ATLASSIAN_RECOVERY_PASSWORD |
static String |
AUTH_FALLBACK_QUERY_PARAM
If this query parameter is specified in the login request, and
ImmutableSsoConfig.enableAuthenticationFallback()
is set the user will be allowed to log in using the traditional forms login, instead of being redirected to the
configured SSO IDP. |
protected AuthenticationHandlerProvider |
authenticationHandlerProvider |
static String |
DESTINATION_REQUEST_PARAM |
protected IdpConfigService |
idpConfigService |
protected org.slf4j.Logger |
log |
protected LoginOptionsService |
loginOptionsService |
static String |
NATIVE_LOGIN_PARAM
If this query parameter is specified when navigating to the native login page, and the native login form
is configured to be displayed, then the user will NOT be redirected to our custom login gateway.
|
| Constructor and Description |
|---|
AuthenticationFilter(AuthenticationHandlerProvider authenticationHandlerProvider,
IdpConfigService idpConfigService,
LoginOptionsService loginOptionsService,
JohnsonChecker johnsonChecker) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected abstract String |
extractRequestedUrl(javax.servlet.http.HttpServletRequest req) |
protected LoginGatewayType |
getLoginGatewayType() |
protected boolean |
isProductSpecificSkip(List<LoginOption> loginOptions,
javax.servlet.http.HttpServletRequest httpRequest) |
protected boolean |
isSupportedHttpMethod(javax.servlet.http.HttpServletRequest httpRequest) |
destroy, doFilter, initpublic static final String DESTINATION_REQUEST_PARAM
protected final org.slf4j.Logger log
public static final String AUTH_FALLBACK_QUERY_PARAM
ImmutableSsoConfig.enableAuthenticationFallback()
is set the user will be allowed to log in using the traditional forms login, instead of being redirected to the
configured SSO IDP.public static final String ATLASSIAN_RECOVERY_PASSWORD
public static final String NATIVE_LOGIN_PARAM
protected final AuthenticationHandlerProvider authenticationHandlerProvider
protected final IdpConfigService idpConfigService
protected final LoginOptionsService loginOptionsService
public AuthenticationFilter(AuthenticationHandlerProvider authenticationHandlerProvider, IdpConfigService idpConfigService, LoginOptionsService loginOptionsService, JohnsonChecker johnsonChecker)
protected 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 isProductSpecificSkip(List<LoginOption> loginOptions, javax.servlet.http.HttpServletRequest httpRequest)
protected boolean isSupportedHttpMethod(javax.servlet.http.HttpServletRequest httpRequest)
@Nullable protected abstract String extractRequestedUrl(javax.servlet.http.HttpServletRequest req)
protected LoginGatewayType getLoginGatewayType()
Copyright © 2023 Atlassian. All rights reserved.