AEM - 通过调度程序访问受限页面重定向到发布者登录页面

AEM - visiting restricted page via dispatcher redirects to publisher login page

我是一名 DevOps 工程师,从一位已离开组织的 AEM 开发人员那里继承了 AEM 6.5 环境。该架构由一个调度程序实例、一个作者实例和一个发布者实例组成。目前,调度程序配置为从发布者实例中获取和缓存内容,并从缓存中为用户提供内容。

当用户尝试访问受限页面(任何需要用户登录的页面)时,它适用于除登录页面之外的所有页面。通过调度程序实例 (https://example.com/site/restricted.html) it performs a 302 redirect to the login page on the publisher instance (https://publish.example.com/site/login.html). This is the same behavior which occurs if a user visits the restricted page directly on the publisher instance (https://publish.example.com/site/restricted.html) 访问受限页面时,但这不是通过调度程序实例访问站点时所需的行为。

我试图做到这一点,以便在通过调度程序实例访问受限页面时,用户通过调度程序 (https://example.com/site/login.html) 被带到登录页面,而不是重定向到发布者实例。用户在任何时候都不应该看到 publish 出现在 URL 中,发布者实例的存在也不应该对站点访问者可见。

我无法找到此重定向所在的位置 defined/configured。以下是我迄今为止的研究总结:

还可以在哪里定义此重定向行为?

还要检查 /system/console/configMgr 中的 Apache Sling Resource Resolver Factory 和 Day CQ Link Externalizer 中定义的可能映射。