public class AccessTokenLoginFilter
extends com.atlassian.seraph.filter.BaseLoginFilter
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN |
static String |
AUTHORIZED_BY_TOKEN |
Constructor and Description |
---|
AccessTokenLoginFilter() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
invalidateSession(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
login(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected void |
putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest,
BambooUser principal) |
public static final String AUTHORIZED_BY_TOKEN
public static final String ACCESS_TOKEN
public void init(javax.servlet.FilterConfig filterConfig)
init
in interface javax.servlet.Filter
init
in class com.atlassian.seraph.filter.BaseLoginFilter
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
doFilter
in class com.atlassian.seraph.filter.BaseLoginFilter
IOException
javax.servlet.ServletException
public String login(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
login
in class com.atlassian.seraph.filter.BaseLoginFilter
protected void putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest, BambooUser principal)
protected void invalidateSession(javax.servlet.http.HttpServletRequest httpServletRequest)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.