com.atlassian.sal.core.websudo
Class NoopWebSudoManager

java.lang.Object
  extended by com.atlassian.sal.core.websudo.NoopWebSudoManager
All Implemented Interfaces:
WebSudoManager

public class NoopWebSudoManager
extends Object
implements WebSudoManager

NO OP implementation of the WebSudoManager that can be used if the host application does not support WebSudo.


Constructor Summary
NoopWebSudoManager()
           
 
Method Summary
 boolean canExecuteRequest(javax.servlet.http.HttpServletRequest request)
           
 void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopWebSudoManager

public NoopWebSudoManager()
Method Detail

canExecuteRequest

public boolean canExecuteRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
canExecuteRequest in interface WebSudoManager

enforceWebSudoProtection

public void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
Specified by:
enforceWebSudoProtection in interface WebSudoManager

willExecuteWebSudoRequest

public void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest request)
                               throws WebSudoSessionException
Specified by:
willExecuteWebSudoRequest in interface WebSudoManager
Throws:
WebSudoSessionException


Copyright © 2011 Atlassian. All Rights Reserved.