Ibm mobilefirst MobileFirst:v7.0中允许使用相同名称的多个securityTests
我的一位团队成员来找我,向我展示了他使用了两个名完全相同的Ibm mobilefirst MobileFirst:v7.0中允许使用相同名称的多个securityTests,ibm-mobilefirst,mobilefirst-server,Ibm Mobilefirst,Mobilefirst Server,我的一位团队成员来找我,向我展示了他使用了两个名完全相同的安全测试,工作室没有给出任何例外 MobileFirstV7.0 月食月球R2(4.4.2) 视窗8 这是摘录 <securityTests> <customSecurityTest name="MySecurityTest"> <test realm="wl_antiXSRFRealm" /> <test
安全测试,工作室没有给出任何例外
- MobileFirstV7.0
- 月食月球R2(4.4.2)
- 视窗8
这是摘录
<securityTests>
<customSecurityTest name="MySecurityTest">
<test realm="wl_antiXSRFRealm" />
<test realm="wl_remoteDisableRealm" />
<test realm="wl_directUpdateRealm" mode="perSession" step="1"/>
<test realm="wl_deviceNoProvisioningRealm" isInternalDeviceID="true" step="1" />
<test realm="AdapterAuthRealmDuplicate" isInternalUserID="true" step="2" />
</customSecurityTest>
<customSecurityTest name="MySecurityTest">
<test realm="wl_antiXSRFRealm" />
<test realm="wl_remoteDisableRealm" />
<test realm="wl_directUpdateRealm" mode="perSession" step="1"/>
<test realm="AdapterAuthRealm" isInternalUserID="true" step="2" />
</customSecurityTest>
</securityTests>
<realms>
<realm loginModule="AdapterAuthLoginModule" name="AdapterAuthRealm">
<className>com.worklight.integration.auth.AdapterAuthenticator</className>
<parameter name="login-function" value="Mydapter.onAuthRequired"/>
<parameter name="logout-function" value="Mydapter.onLogout"/>
</realm>
<realm loginModule="AdapterAuthLoginModule" name="AdapterAuthRealmDuplicate">
<className>com.worklight.integration.auth.AdapterAuthenticator</className>
<parameter name="login-function" value="Mydapter.onAuthRequired"/>
<parameter name="logout-function" value="Mydapter.onLogout"/>
</realm>
</realms>
com.worklight.integration.auth.AdapterAuthenticator
com.worklight.integration.auth.AdapterAuthenticator
我的问题是:
- 这样行吗?记住未来的兼容性李>
- 如果允许倍数,则说明其工作方式,即挑战处理程序的工作方式
执行流程(步骤)将继续
- 这两者结合在一起吗
我认为它不应该允许两个同名的安全测试
请帮助我理解这一点,否则我会改变它或保留它
注:我问了一个问题,这是另一个问题。
这与领域不同。这是不允许的。
我将打开一个缺陷来处理此问题
不要使用相同的名称值创建两个自定义安全检查