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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecuteRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) voidenforceWebSudoProtection(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidwillExecuteWebSudoRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest)
-
Constructor Details
-
ConfluenceWebSudoManager
-
-
Method Details
-
canExecuteRequest
public boolean canExecuteRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
canExecuteRequestin interfacecom.atlassian.sal.api.websudo.WebSudoManager
-
enforceWebSudoProtection
public void enforceWebSudoProtection(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) - Specified by:
enforceWebSudoProtectionin interfacecom.atlassian.sal.api.websudo.WebSudoManager
-
willExecuteWebSudoRequest
public void willExecuteWebSudoRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.atlassian.sal.api.websudo.WebSudoSessionException - Specified by:
willExecuteWebSudoRequestin interfacecom.atlassian.sal.api.websudo.WebSudoManager- Throws:
com.atlassian.sal.api.websudo.WebSudoSessionException
-