@Deprecated public final class RegExpAllowFromStrategy extends AbstractRequestParameterAllowFromStrategy
log
Constructor and Description |
---|
RegExpAllowFromStrategy(java.lang.String pattern)
Deprecated.
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowed(java.lang.String allowFromOrigin)
Deprecated.
Method to be implemented by base classes, used to determine if the supplied origin
is allowed.
|
getAllowFromValue, setAllowFromParameterName
public RegExpAllowFromStrategy(java.lang.String pattern)
pattern
- the Pattern to compare against the HTTP parameter value. If the
pattern matches, the domain will be allowed, else denied.protected boolean allowed(java.lang.String allowFromOrigin)
AbstractRequestParameterAllowFromStrategy
allowed
in class AbstractRequestParameterAllowFromStrategy
allowFromOrigin
- the supplied origintrue
if the supplied origin is allowed.