com.atlassian.seraph.filter
Class BambooLoginFilter
java.lang.Object
com.atlassian.seraph.filter.BaseLoginFilter
com.atlassian.seraph.filter.PasswordBasedLoginFilter
com.atlassian.seraph.filter.LoginFilter
com.atlassian.seraph.filter.BambooLoginFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class BambooLoginFilter
- extends com.atlassian.seraph.filter.LoginFilter
The purpose of this filter is to override default way the BaseLoginFilter works.
BaseLoginFilter ignores the already set BaseLoginFilter.OS_AUTHSTATUS_KEY, so any earlier trusted apps login success is
cleared. For trusted apps calls no other authentication method is used - so calls are not authenticated at all.
Nested classes/interfaces inherited from class com.atlassian.seraph.filter.PasswordBasedLoginFilter |
com.atlassian.seraph.filter.PasswordBasedLoginFilter.UserPasswordPair |
Field Summary |
protected static org.slf4j.Logger |
logger
|
Fields inherited from class com.atlassian.seraph.filter.BaseLoginFilter |
ALREADY_FILTERED, AUTHENTICATION_ERROR_TYPE, LOGIN_ERROR, LOGIN_FAILED, LOGIN_NOATTEMPT, LOGIN_SUCCESS, OS_AUTHSTATUS_KEY |
Method Summary |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
|
Methods inherited from class com.atlassian.seraph.filter.LoginFilter |
extractUserPasswordPair |
Methods inherited from class com.atlassian.seraph.filter.PasswordBasedLoginFilter |
login |
Methods inherited from class com.atlassian.seraph.filter.BaseLoginFilter |
destroy, getAuthenticationContext, getAuthenticator, getElevatedSecurityGuard, getFilterConfig, getSecurityConfig, init, isAbsoluteUrl, redirectToOriginalDestination, setFilterConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
BambooLoginFilter
public BambooLoginFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Overrides:
doFilter
in class com.atlassian.seraph.filter.BaseLoginFilter
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2012 Atlassian. All Rights Reserved.