public final class StrutsResourceIsolationPolicy extends Object implements ResourceIsolationPolicy
FetchMetadataInterceptor
that
implements the ResourceIsolationPolicy
interface. This default policy is based on
https://web.dev/fetch-metadata/.DEST_AUDIO, DEST_AUDIOWORKLET, DEST_DOCUMENT, DEST_EMBED, DEST_EMPTY, DEST_FONT, DEST_IMAGE, DEST_MANIFEST, DEST_NESTED_DOCUMENT, DEST_OBJECT, DEST_PAINTWORKLET, DEST_REPORT, DEST_SCRIPT, DEST_SERVICEWORKER, DEST_SHAREDWORKER, DEST_STYLE, DEST_TRACK, DEST_VIDEO, DEST_WORKER, DEST_XSLT, MODE_CORS, MODE_NAVIGATE, MODE_NESTED_NAVIGATE, MODE_NO_CORS, MODE_SAME_ORIGIN, MODE_WEBSOCKET, SEC_FETCH_DEST_HEADER, SEC_FETCH_MODE_HEADER, SEC_FETCH_SITE_HEADER, SEC_FETCH_USER_HEADER, SITE_CROSS_SITE, SITE_NONE, SITE_SAME_ORIGIN, SITE_SAME_SITE, VARY_HEADER
Constructor and Description |
---|
StrutsResourceIsolationPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
isRequestAllowed(javax.servlet.http.HttpServletRequest request) |
public boolean isRequestAllowed(javax.servlet.http.HttpServletRequest request)
isRequestAllowed
in interface ResourceIsolationPolicy
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.