Class AllowedUrlsProviderImpl
java.lang.Object
com.atlassian.confluence.impl.security.AllowedUrlsProviderImpl
- All Implemented Interfaces:
AllowedUrlsProvider
Provides urls which could be excluded from some security checks (for e.g. urls could be added to the
Content-Security-Policy header to be included in frame-ancestors).
By default, we include only urls from the app links, but customer could add more via system property
- Since:
- 8.5.9
-
Field Summary
Fields inherited from interface com.atlassian.confluence.security.AllowedUrlsProvider
ALLOWED_URLS
-
Constructor Summary
ConstructorsConstructorDescriptionAllowedUrlsProviderImpl
(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) -
Method Summary
Modifier and TypeMethodDescriptiongetUrls()
Collection of urls that are excluded from security checksvoid
void
void
-
Constructor Details
-
AllowedUrlsProviderImpl
public AllowedUrlsProviderImpl(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
-
-
Method Details
-
registerEventListener
@PostConstruct public void registerEventListener() -
unregisterEventListener
@PreDestroy public void unregisterEventListener() -
onPluginFrameworkStarted
-
getUrls
Collection of urls that are excluded from security checks- Specified by:
getUrls
in interfaceAllowedUrlsProvider
-