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.WebSudoManager
public void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
enforceWebSudoProtection
in interface com.atlassian.sal.api.websudo.WebSudoManager
public void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.atlassian.sal.api.websudo.WebSudoSessionException
willExecuteWebSudoRequest
in interface com.atlassian.sal.api.websudo.WebSudoManager
com.atlassian.sal.api.websudo.WebSudoSessionException
Copyright © 2003–2016 Atlassian. All rights reserved.