MobileFirst 7.0 Application Center用户管理

时间:2015-05-20 10:38:36

标签: ibm-mobilefirst mobilefirst-appcenter

我在Application Center Console上上传了两个应用。我还创建了两个应该只能看到其中一个应用的用户。我有和没有限制的测试,但appcenterusergroup中的用户无法看到任何应用程序。 Server.xml配置如下所示:

 <basicRegistry>
            <user name="demo" password="demo"/>
            <user name="salesappdemo" password="salesappdemo"/>
            <user name="admin" password="admin"/>     

        <group name="appcentergroup">     
            <member name="admin"/>
        </group>

         <group name="appcenterusergroup">
            <member name="demo"/>
            <member name="salesappdemo"/>
         </group>

    </basicRegistry>

    <application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" type="war">
        <application-bnd>
            <security-role name="appcenteradmin">
                <group name="appcentergroup"/>
            </security-role>
             <security-role name="appcenteruser">
             <group name="appcenterusergroup"/>
         </security-role>
        </application-bnd>
    </application>  

总结:

- 检查AppcenterConsole中的-Installer复选框。

- 应用程序访问控制现在不受限制。后来我计划添加限制,以便每个用户都能看到不同的应用程序。

- 我在server.xml中添加了一个appcenteruser组,其中有两个用户无法看到上传的应用程序

- appcenteradmin Group的管理员用户可以查看和下载应用程序。

我在server.xml或其他LDAP配置中遗漏了什么,或者Application Center无法正常工作?

2 个答案:

答案 0 :(得分:1)

在AppcenterConsole /appcenterconsole/console.html中单独上传apk或ipa将无法在/applicationcenter/installers.html安装程序中为您提供安装。

  

您需要检查AppcenterConsole中的安装程序复选框   在安装程序上查看它

enter image description here

  

单击/appcenterconsole/console.html中的.apk或.ipa文件后,将显示上述属性,只需检查安装程序并单击“应用”和“确定”按钮。

转到/appcenterconsole/console.html

请参阅名为AccessControl :的选项,该选项将与您在apk文件右侧的apk文件一起显示,如下图所示

enter image description here

  

点击它,会出现一个名为Access control enabled的选项,勾选方框并add your users or groups或制作它   未经检查,因此它是unrestricted所以所有人都可以使用它。

答案 1 :(得分:0)

最终我得到了它的工作,错误是我将组名添加到

<!-- Declare the IBM Application Center Console application. -->
<application id="appcenterconsole" name="appcenterconsole" location="appcenterconsole.war" type="war">

但正确的是在这里添加:

<!-- Declare the IBM Application Center Services application. -->
    <application id="applicationcenter" name="applicationcenter" location="applicationcenter.war" type="war">

因此,应将mobilefirst-appcenter的用户组添加到

<application id="applicationcenter" name="applicationcenter" location="applicationcenter.war" type="war">**

要继续,当您希望不同的用户获得不同的应用程序时,它不会在Web界面上工作。您必须在设备上安装IBM App Center应用程序。 apk随服务器一起提供。只有这样,限制才有效。无论如何,通过Application Center驱动器将IBM App Center分发到安全问题,同时您必须在Web上登录,并且Web允许查看所有应用程序,它不能限制用户权限。