|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSudoManager
Allows the client to request WebSudo protection from the host application.
Usage pattern:| 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. |
| Method Detail |
|---|
boolean canExecuteRequest(javax.servlet.http.HttpServletRequest request)
request - the current HttpServletRequest
true 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 HttpServletResponse
void 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 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 | |||||||||