Class WhiteListedAllowFromStrategy

  • All Implemented Interfaces:
    AllowFromStrategy

    @Deprecated
    public final class WhiteListedAllowFromStrategy
    extends AbstractRequestParameterAllowFromStrategy
    Deprecated.
    ALLOW-FROM is an obsolete directive that no longer works in modern browsers. Instead use Content-Security-Policy with the frame-ancestors directive.
    Implementation which checks the supplied origin against a list of allowed origins.
    Since:
    3.2
    • Constructor Detail

      • WhiteListedAllowFromStrategy

        public WhiteListedAllowFromStrategy​(java.util.Collection<java.lang.String> allowed)
        Deprecated.
        Creates a new instance
        Parameters:
        allowed - the origins that are allowed.