Ibm mobilefirst Worklight Security测试Liberty配置文件中部署的外部应用程序(WAR)的使用情况

Ibm mobilefirst Worklight Security测试Liberty配置文件中部署的外部应用程序(WAR)的使用情况,ibm-mobilefirst,websphere-liberty,Ibm Mobilefirst,Websphere Liberty,有一个问题,我们可以在WebSphereLiberty概要文件服务器中部署的外部应用程序(war)中使用安全测试吗。如果是,则说明如何配置。安全测试将独立于worklight应用程序和外部应用程序。您到底在说什么?我不清楚你的情况 Worklight安全测试将在Worklight项目的authenticationConfig.xml中配置,然后用于保护适配器xml文件中的适配器过程和/或application-descriptor.xml中的应用程序;它们不适用于任何其他上下文。您的问题不清楚。

有一个问题,我们可以在WebSphereLiberty概要文件服务器中部署的外部应用程序(war)中使用安全测试吗。如果是,则说明如何配置。安全测试将独立于worklight应用程序和外部应用程序。

您到底在说什么?我不清楚你的情况


Worklight安全测试将在Worklight项目的authenticationConfig.xml中配置,然后用于保护适配器xml文件中的适配器过程和/或application-descriptor.xml中的应用程序;它们不适用于任何其他上下文。

您的问题不清楚。 我相信您希望通过安全测试保护Worklight控制台(war),这是可能的。您可以使用用户名和密码保护您的控制台。(可以使用纯文本或加密)。有关更多信息,请参阅

要启用安全测试,您需要使用以下代码编辑
authenticationConfig.xml

    <staticResources>
        <resource id="worklightConsole" securityTest="WorklightConsole">
            <urlPatterns>/console*</urlPatterns>
         </resource>  

    </staticResources> 


<securityTests>
<customSecurityTest name="WorklightConsole">
            <test realm="WorklightConsole" isInternalUserID="true"/>
        </customSecurityTest> 
</securityTests>
<realms>
<realm loginModule="requireLogin" name="WorklightConsole">
            <className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
            <onLoginUrl>/console</onLoginUrl>
        </realm>
</realms>

<loginModules>
<loginModule name="requireLogin">
            <className>com.worklight.core.auth.ext.SingleIdentityLoginModule</className>
        </loginModule>
</loginModules>

/控制台*
com.worklight.core.auth.ext.FormBasedAuthenticator
/控制台
com.worklight.core.auth.ext.SingleIdentityLoginModule

更清楚。如果我错了,请更正。我们可以在worklight中开发整个web应用程序吗?这是我们在worklight中开发所有东西的要求,包括web应用当你说“web应用”时,你是指移动web,还是Android、iPhone等。。。?请准确地说,“Web App”是指桌面浏览器上的应用程序,这是桌面浏览器环境。我们能否将其开发为Web浏览器作为参考,从这个链接可以看出,完整的Web应用程序(数据库事务、HTML页面、业务逻辑层)基本上是worklight上的三层体系结构应用程序