Class AllowedUrlsProviderImpl

java.lang.Object
com.atlassian.confluence.impl.security.AllowedUrlsProviderImpl
All Implemented Interfaces:
AllowedUrlsProvider

public class AllowedUrlsProviderImpl extends Object implements 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
  • Constructor Details

    • AllowedUrlsProviderImpl

      public AllowedUrlsProviderImpl(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
  • Method Details

    • registerEventListener

      @PostConstruct public void registerEventListener()
    • unregisterEventListener

      @PreDestroy public void unregisterEventListener()
    • onPluginFrameworkStarted

      @EventListener public void onPluginFrameworkStarted(PluginFrameworkStartedEvent event)
    • getUrls

      public Collection<URI> getUrls()
      Collection of urls that are excluded from security checks
      Specified by:
      getUrls in interface AllowedUrlsProvider