public class ConfluenceWebSudoManager extends Object implements com.atlassian.sal.api.websudo.WebSudoManager
WebSudoManager.
This implementation delegates the canExecuteRequest(javax.servlet.http.HttpServletRequest)
check to the existing WebSudoManager.
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.
| Constructor and Description |
|---|
ConfluenceWebSudoManager(SettingsManager settingsManager,
WebSudoManager internalWebSudoManager) |
| Modifier and Type | Method and 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) |
public ConfluenceWebSudoManager(SettingsManager settingsManager, WebSudoManager internalWebSudoManager)
public boolean canExecuteRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
canExecuteRequest in interface com.atlassian.sal.api.websudo.WebSudoManagerpublic void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
enforceWebSudoProtection in interface com.atlassian.sal.api.websudo.WebSudoManagerpublic void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.atlassian.sal.api.websudo.WebSudoSessionException
willExecuteWebSudoRequest in interface com.atlassian.sal.api.websudo.WebSudoManagercom.atlassian.sal.api.websudo.WebSudoSessionExceptionCopyright © 2003–2021 Atlassian. All rights reserved.