MF适配器中是否可以使用JAX-RS2 security roles?IBM MobileFirst适配器安全角色
例如为:
securityContext.isUserInRole( “MyTestRole”)
此方法始终返回false我的适配器。我在 “MFP” 应用程序(MFP-将server.war)在server.xml中添加(LibertyProfile):
<security-role name="MyTestRole">
<group name="MyLDAPGroup" />
</security-role>
,我到分配给 “MyLDAPGroup” 用户登录。
或者也许在MF适配器中,我们应该使用其他一些机制来指定角色?
你正在运行什么版本的MF? –
8.0.0-2017012016 – 3squad