可以通过 Bluemix 在 Mobile First Starter 上实施适配器身份验证

It is possible to implement Adapter Authentication on Mobile First Starter over Bluemix

我想在 IBM Bluemix 上的 Mobile First Starter 容器上实施适配器身份验证。

问题的内核是:

是否已在 authenticationConfig.xml 中配置了可用于此目的的安全测试?如果没有,是否可以创建它?

据我所知,我需要:

1) 安全测试如:

<customSecurityTest name="AuthSecurityTest">
  <test realm="AuthRealm" isInternalUserID="true" /
</customSecurityTest> 

2) 像这样的领域:

<realm loginModule="AuthLoginModule" name="AuthRealm">
  <className>com.worklight.integration.auth.AdapterAuthenticator</className>
  <parameter name="login-function" value="AuthAdapter.onAuthRequired"/>
  <parameter name="logout-function" value="AuthAdapter.onLogout"/>
</realm>

3) 登录模块如:

<loginModule name="AuthLoginModule">
  <className>com.worklight.core.auth.ext.NonValidatingLoginModule</className>
</loginModule>

我期待一个肯定的答案。

此致,

没有像这个内置的东西。
您需要在您的 MobileFirst 项目中实现它,然后您需要将它添加到您的图像并将您的图像上传到您的容器。

如果您使用的是 MobileFirst Platform Foundation 7.1,请遵循以下步骤(假设您是 IBM 付费客户,有权下载所需的工件):https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/ibm-containers/run/