public class SecureRequestAction extends Action
This action ensures that all requests are secure. Extend this and override
the isRequiresSecure method to programmatically decide when a
request requires HTTPS.
| Constructor and Description |
|---|
SecureRequestAction() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getRedirect(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected boolean |
isRequiresSecure(javax.servlet.http.HttpServletRequest httpServletRequest) |
void |
run(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
processLifecycleEvent, runpublic void run(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws ActionException
run in class ActionActionExceptionprotected java.lang.String getRedirect(javax.servlet.http.HttpServletRequest httpServletRequest)
protected boolean isRequiresSecure(javax.servlet.http.HttpServletRequest httpServletRequest)