|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.core.websudo.NoopWebSudoManager
public class NoopWebSudoManager
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)
Check whether this request can be executed. |
void |
enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Ensure that the current request is protected by a WebSudo session. |
void |
willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest request)
Mark the current request as a request for a WebSudo protected resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoopWebSudoManager()
| Method Detail |
|---|
public boolean canExecuteRequest(javax.servlet.http.HttpServletRequest request)
WebSudoManager
canExecuteRequest in interface WebSudoManagerrequest - the current HttpServletRequest
true if this request is protected by a WebSudo session or WebSudo is disabled, false otherwise.
public void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
WebSudoManagerWebSudoManager.canExecuteRequest(javax.servlet.http.HttpServletRequest) would return true).
enforceWebSudoProtection in interface WebSudoManagerrequest - the current HttpServletRequestresponse - the current HttpServletResponse
public void willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest request)
throws WebSudoSessionException
WebSudoManagerWebSudoSessionException if the current request is not protected by WebSudo.
This notifies the host application that the request is a request for a WebSudp protected resource.
willExecuteWebSudoRequest in interface WebSudoManagerrequest - the current HttpServletRequest
WebSudoSessionException - if the current request is not protected by WebSudo.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||