【问题标题】:IIOP1002: Principal propagation: Cannot find principal information in subject]]IIOP1002:主要传播:在主题中找不到主要信息]]
【发布时间】:2021-05-18 08:52:17
【问题描述】:

我的Waffle SSO filter 工作正常,但我们的服务器日志现在完全充满了如下行:

[2021-05-18T08:54:24.525+0100] [Payara 5.2021.1] [SEVERE] [] [javax.enterprise.system.core.security.com.sun.enterprise.iiop.security] [tid: _ThreadID=115 _ThreadName=http-thread-pool::http-listener-1(3)] [timeMillis: 1621324464525] [levelValue: 1000] [[

  IIOP1002: Principal propagation: Cannot find principal information in subject]]

所以我的问题是,如何摆脱这些日志?

这里有一些其他细节:

AppServer - Payara 5

Waffle SSO 类型 - 基于过滤器(2.3.0 版)

操作系统:Windows 10

【问题讨论】:

    标签: java glassfish single-sign-on payara waffle


    【解决方案1】:

    请注意,这可能不是最好的解决方案,只是一种解决方法!

    好的,最终关闭该日志记录的唯一方法是评论进行日志记录的那一行 :) 。为此,我必须重新编译 SecurityMechanismSelector(位于 C:\Payara\glassfish\modules\ejb.security.jar),并注释该行:

    您可以从 here 找到 SecurityMechanismSelector 的来源。一旦该行被注释并且一切都在您的 IDE 中编译良好,您需要将类文件放回 jar 并用新编译的一个替换原始 jar(位于 C:\Payara\glassfish\modules)。

    确保从 JEE 服务器中删除缓存:

    1. 停止服务器

    2. 删除以下位置的所有文件:

      C:\Payara\glassfish\domains\domain1\osgi-cache
      

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-09-14
      • 1970-01-01
      • 1970-01-01
      • 2016-02-12
      • 2020-11-23
      • 1970-01-01
      • 1970-01-01
      • 2015-01-05
      相关资源
      最近更新 更多