我的华夫饼单输入输出滤波器运行得非常好,但是我们的服务器日志现在已经完全装满了如下所示的行:
[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
基于华夫饼SSO类型的过滤器(2.3.0版)
操作系统: Windows 10
发布于 2021-06-10 07:35:03
请注意,这可能不是最好的解决方案,但只是一个解决办法!
好的,最后关闭日志记录的唯一方法是注释执行日志记录的一行:)。要做到这一点,我必须重新编译SecurityMechanismSelector (在C:\Payara\glassfish\modules\ejb.security.jar上),并注释行:

您可以从SecurityMechanismSelector中找到这里的源代码。一旦对行进行了注释,并且IDE中的所有内容都编译得很好,您就需要将类文件放回jar中,并用新编译的jar替换原来的jar(出现在C:\Payara\glassfish\模块中)。
请确保从JEE服务器中删除缓存:
https://stackoverflow.com/questions/67582944
复制相似问题