@Deprecated public abstract class AbstractRequestParameterAllowFromStrategy extends java.lang.Object implements AllowFromStrategy
x-frames-allow-from
is
read from the request.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log
Deprecated.
Logger for use by subclasses
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
allowed(java.lang.String allowFromOrigin)
Deprecated.
Method to be implemented by base classes, used to determine if the supplied origin
is allowed.
|
java.lang.String |
getAllowFromValue(javax.servlet.http.HttpServletRequest request)
Deprecated.
Gets the value for ALLOW-FROM excluding the ALLOW-FROM.
|
void |
setAllowFromParameterName(java.lang.String allowFromParameterName)
Deprecated.
Sets the HTTP parameter used to retrieve the value for the origin that is allowed
from.
|
protected final org.apache.commons.logging.Log log
public java.lang.String getAllowFromValue(javax.servlet.http.HttpServletRequest request)
AllowFromStrategy
getAllowFromValue
in interface AllowFromStrategy
request
- the HttpServletRequest
public void setAllowFromParameterName(java.lang.String allowFromParameterName)
allowFromParameterName
- the name of the HTTP parameter toprotected abstract boolean allowed(java.lang.String allowFromOrigin)
allowFromOrigin
- the supplied origintrue
if the supplied origin is allowed.