Class ConfluenceWebSudoManager

java.lang.Object
com.atlassian.sal.confluence.websudo.ConfluenceWebSudoManager
All Implemented Interfaces:
com.atlassian.sal.api.websudo.WebSudoManager

public class ConfluenceWebSudoManager extends Object implements com.atlassian.sal.api.websudo.WebSudoManager
Confluence implementation of the SAL WebSudoManager.

This implementation delegates the canExecuteRequest(HttpServletRequest) check to the existing WebSudoManager.

enforceWebSudoProtection(HttpServletRequest, HttpServletResponse) redirects to the Confluence authenticate.action that is used to validate the password of the currently logged in user.

Since:
3.4
  • Constructor Details

    • ConfluenceWebSudoManager

      public ConfluenceWebSudoManager(WebSudoManager delegate)
  • Method Details

    • canExecuteRequest

      public boolean canExecuteRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      canExecuteRequest in interface com.atlassian.sal.api.websudo.WebSudoManager
    • enforceWebSudoProtection

      public void enforceWebSudoProtection(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Specified by:
      enforceWebSudoProtection in interface com.atlassian.sal.api.websudo.WebSudoManager
    • willExecuteWebSudoRequest

      public void willExecuteWebSudoRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.atlassian.sal.api.websudo.WebSudoSessionException
      Specified by:
      willExecuteWebSudoRequest in interface com.atlassian.sal.api.websudo.WebSudoManager
      Throws:
      com.atlassian.sal.api.websudo.WebSudoSessionException