Interface HttpLogoutHandler


public interface HttpLogoutHandler
Interface that http-auth-handler modules can optionally implement to receive callbacks on logout.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    logout(com.atlassian.bitbucket.user.ApplicationUser user, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Implementations should clean up external resources if they need to.
  • Method Details

    • logout

      void logout(@Nonnull com.atlassian.bitbucket.user.ApplicationUser user, @Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull javax.servlet.http.HttpServletResponse response)
      Implementations should clean up external resources if they need to. They can optionally write to the response or redirect the user to override the standard system behaviour.
      Parameters:
      user - the user to log out
      request - the HTTP request
      response - the HTTP response