Class AccessTokenLoginFilter

java.lang.Object
com.atlassian.seraph.filter.BaseLoginFilter
com.atlassian.seraph.filter.AccessTokenLoginFilter
All Implemented Interfaces:
javax.servlet.Filter

public class AccessTokenLoginFilter extends com.atlassian.seraph.filter.BaseLoginFilter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class com.atlassian.seraph.filter.BaseLoginFilter

    AUTHENTICATION_ERROR_TYPE, LOGIN_ERROR, LOGIN_FAILED, LOGIN_NOATTEMPT, LOGIN_SUCCESS, OS_AUTHSTATUS_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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)
     
    login(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
     
    protected void
    putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest, BambooUser principal)
     

    Methods inherited from class com.atlassian.seraph.filter.BaseLoginFilter

    destroy, getAuthenticationContext, getAuthenticator, getElevatedSecurityGuard, getSecurityConfig, isAbsoluteUrl, redirectToOriginalDestination

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AccessTokenLoginFilter

      public AccessTokenLoginFilter()
  • Method Details

    • init

      public void init(javax.servlet.FilterConfig filterConfig)
      Specified by:
      init in interface javax.servlet.Filter
      Overrides:
      init in class com.atlassian.seraph.filter.BaseLoginFilter
    • doFilter

      public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface javax.servlet.Filter
      Overrides:
      doFilter in class com.atlassian.seraph.filter.BaseLoginFilter
      Throws:
      IOException
      javax.servlet.ServletException
    • login

      public String login(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
      Specified by:
      login in class com.atlassian.seraph.filter.BaseLoginFilter
    • putPrincipalInSessionContext

      protected void putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest, BambooUser principal)
    • invalidateSession

      protected void invalidateSession(javax.servlet.http.HttpServletRequest httpServletRequest)