Class DomainIsolationProtectionInterceptor

  • All Implemented Interfaces:
    org.springframework.web.servlet.AsyncHandlerInterceptor, org.springframework.web.servlet.HandlerInterceptor

    public class DomainIsolationProtectionInterceptor
    extends SkippableInterceptor
    An interceptor for domain isolation protection, which prevents accessing artifacts not from artifacts URL.
    Prevents accessing artifacts with main URL, when the domain isolation is active.
    Rejects any requests to artifacts URL except for artifact ones (with presigned token authentication scheme).
    Addresses the security issue TW-83297.
    See Also:
    DomainIsolationProtection
    • Constructor Detail

      • DomainIsolationProtectionInterceptor

        public DomainIsolationProtectionInterceptor​(@NotNull
                                                    DomainIsolationProtection domainIsolationProtection)