public interface WebSudoManager
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean canExecuteRequest(javax.servlet.http.HttpServletRequest request)
request - the current HttpServletRequesttrue if this request is protected by a WebSudo session or WebSudo is disabled, false otherwise.void enforceWebSudoProtection(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
canExecuteRequest(javax.servlet.http.HttpServletRequest) would return true).request - the current HttpServletRequestresponse - the current HttpServletResponsevoid willExecuteWebSudoRequest(javax.servlet.http.HttpServletRequest request)
throws WebSudoSessionException
WebSudoSessionException 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.request - the current HttpServletRequestWebSudoSessionException - if the current request is not protected by WebSudo.Copyright © 2015 Atlassian. All rights reserved.