public class SecureRequestAction
extends com.liferay.portal.kernel.events.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 String |
getRedirect(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isRequiresSecure(javax.servlet.http.HttpServletRequest request) |
void |
run(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public void run(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.liferay.portal.kernel.events.ActionException
run
in class com.liferay.portal.kernel.events.Action
com.liferay.portal.kernel.events.ActionException
protected String getRedirect(javax.servlet.http.HttpServletRequest request)
protected boolean isRequiresSecure(javax.servlet.http.HttpServletRequest request)