public class BasicUserAuthenticationFilter extends AbstractBasicAuthenticationFilter
AbstractBasicAuthenticationFilter.Credentials
Constructor and Description |
---|
BasicUserAuthenticationFilter(com.atlassian.sal.api.user.UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain) |
protected String |
getAuthenticationErrorMessage()
Returns the authentication error message.
|
protected String |
getBasicRealm()
Returns the Basic Realm in the WWW-Authenticate header.
|
protected String |
getEntityAttributeKey()
Returns the HTTP request attribute key for the entity.
|
void |
init(javax.servlet.FilterConfig filterConfig) |
destroy, ensureSeraphForwardsRequest, getAuthenticatedEntity, getBasicAuthCredentials, isAuthenticated, respondWithChallenge, setAuthenticatedEntity
public BasicUserAuthenticationFilter(com.atlassian.sal.api.user.UserManager userManager)
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
init
in class AbstractBasicAuthenticationFilter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected String getEntityAttributeKey()
AbstractBasicAuthenticationFilter
getEntityAttributeKey
in class AbstractBasicAuthenticationFilter
protected String getAuthenticationErrorMessage()
AbstractBasicAuthenticationFilter
getAuthenticationErrorMessage
in class AbstractBasicAuthenticationFilter
protected String getBasicRealm()
AbstractBasicAuthenticationFilter
getBasicRealm
in class AbstractBasicAuthenticationFilter
Copyright © 2013 Atlassian. All Rights Reserved.