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 SALWebSudoManager
.This implementation delegates the
canExecuteRequest(javax.servlet.http.HttpServletRequest)
check to the existingWebSudoManager
.enforceWebSudoProtection(javax.servlet.http.HttpServletRequest, javax.servlet.http.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 Constructor Description ConfluenceWebSudoManager(WebSudoManager internalWebSudoManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecuteRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
void
enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
-
-
-
Constructor Detail
-
ConfluenceWebSudoManager
public ConfluenceWebSudoManager(WebSudoManager internalWebSudoManager)
-
-
Method Detail
-
canExecuteRequest
public boolean canExecuteRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
- Specified by:
canExecuteRequest
in interfacecom.atlassian.sal.api.websudo.WebSudoManager
-
enforceWebSudoProtection
public void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Specified by:
enforceWebSudoProtection
in interfacecom.atlassian.sal.api.websudo.WebSudoManager
-
willExecuteWebSudoRequest
public void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.atlassian.sal.api.websudo.WebSudoSessionException
- Specified by:
willExecuteWebSudoRequest
in interfacecom.atlassian.sal.api.websudo.WebSudoManager
- Throws:
com.atlassian.sal.api.websudo.WebSudoSessionException
-
-