com.atlassian.sal.confluence.websudo
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(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.
- Since:
- 3.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceWebSudoManager
public ConfluenceWebSudoManager(SettingsManager settingsManager,
WebSudoManager confluenceWebSudoManager)
canExecuteRequest
public boolean canExecuteRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
-
- Specified by:
canExecuteRequest
in interface com.atlassian.sal.api.websudo.WebSudoManager
enforceWebSudoProtection
public void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
-
- Specified by:
enforceWebSudoProtection
in interface com.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 interface com.atlassian.sal.api.websudo.WebSudoManager
- Throws:
com.atlassian.sal.api.websudo.WebSudoSessionException
Copyright © 2003-2010 Atlassian. All Rights Reserved.