MobileFirst Server 为上传的日志数据做准备 - 安全
MobileFirst Server preparation for uploaded log data - Security
我正在使用 MobileFirst Server MMPF 7.1,IF20151114-1616
WLClientLogReceiver 适配器具有以下设置。我尝试将 securityTest 值更改为 "LogUploadServlet",我仍然收到以下相同的错误。
<procedure name="log" securityTest="wl_unprotected" audit="true" />
为了启用保护 loguploader servlet 的安全性,我在第一步中遵循了 IBM 文档中给出的说明。
Server preparation for uploaded log data - Security
配置在我的aunthenticationConfig.xml
在静态资源下
<resource id="logUploadServlet" securityTest="LogUploadServlet">
<urlPatterns>/apps/services/loguploader*</urlPatterns>
</resource>
在安全测试中
<customSecurityTest name="LogUploadServlet">
<test realm="wl_anonymousUserRealm" step="1"/>
<test realm="LogUploadServlet" isInternalUserID="true"/>
</customSecurityTest>
领域之下
<realm name="LogUploadServlet" loginModule="StrongDummy">
<className>com.worklight.core.auth.ext.HeaderAuthenticator</className>
</realm>
已在服务器中部署更新的 WAR 文件和适配器。当客户端通过调用 send() 方法向服务器发送日志时,我收到以下错误。
[2/12/16 14:14:28:768 CST] 0000014d LoginContext W com.worklight.core.auth.impl.LoginContext invokeLoginModule FWLSE0239W: Authentication failure in realm 'LogUploadServlet': Please check the credentials [project usbusiness]
[2/12/16 14:14:28:933 CST] 000000d1 LoginContext W com.worklight.core.auth.impl.LoginContext invokeLoginModule FWLSE0239W: Authentication failure in realm 'LogUploadServlet': Please check the credentials [project usbusiness]
[2/12/16 14:14:30:542 CST] 000000de SystemOut
不知道我错过了什么。
为了不留下未回答的问题,来自评论部分:
Issue is with the realm com.worklight.core.auth.ext.HeaderAuthenticator that I set for logUploadServlet. after removing and make the security as isInternalUserID="true" its working fine.
我正在使用 MobileFirst Server MMPF 7.1,IF20151114-1616
WLClientLogReceiver 适配器具有以下设置。我尝试将 securityTest 值更改为 "LogUploadServlet",我仍然收到以下相同的错误。
<procedure name="log" securityTest="wl_unprotected" audit="true" />
为了启用保护 loguploader servlet 的安全性,我在第一步中遵循了 IBM 文档中给出的说明。
Server preparation for uploaded log data - Security
配置在我的aunthenticationConfig.xml
在静态资源下
<resource id="logUploadServlet" securityTest="LogUploadServlet">
<urlPatterns>/apps/services/loguploader*</urlPatterns>
</resource>
在安全测试中
<customSecurityTest name="LogUploadServlet">
<test realm="wl_anonymousUserRealm" step="1"/>
<test realm="LogUploadServlet" isInternalUserID="true"/>
</customSecurityTest>
领域之下
<realm name="LogUploadServlet" loginModule="StrongDummy">
<className>com.worklight.core.auth.ext.HeaderAuthenticator</className>
</realm>
已在服务器中部署更新的 WAR 文件和适配器。当客户端通过调用 send() 方法向服务器发送日志时,我收到以下错误。
[2/12/16 14:14:28:768 CST] 0000014d LoginContext W com.worklight.core.auth.impl.LoginContext invokeLoginModule FWLSE0239W: Authentication failure in realm 'LogUploadServlet': Please check the credentials [project usbusiness] [2/12/16 14:14:28:933 CST] 000000d1 LoginContext W com.worklight.core.auth.impl.LoginContext invokeLoginModule FWLSE0239W: Authentication failure in realm 'LogUploadServlet': Please check the credentials [project usbusiness] [2/12/16 14:14:30:542 CST] 000000de SystemOut
不知道我错过了什么。
为了不留下未回答的问题,来自评论部分:
Issue is with the realm com.worklight.core.auth.ext.HeaderAuthenticator that I set for logUploadServlet. after removing and make the security as isInternalUserID="true" its working fine.