@Deprecated public final class WhiteListedAllowFromStrategy extends AbstractRequestParameterAllowFromStrategy
log
Constructor and Description |
---|
WhiteListedAllowFromStrategy(java.util.Collection<java.lang.String> allowed)
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 WhiteListedAllowFromStrategy(java.util.Collection<java.lang.String> allowed)
allowed
- the origins that are allowed.protected boolean allowed(java.lang.String allowFromOrigin)
AbstractRequestParameterAllowFromStrategy
allowed
in class AbstractRequestParameterAllowFromStrategy
allowFromOrigin
- the supplied origintrue
if the supplied origin is allowed.