MobileFirst 7.0 应用中心用户管理
MobileFirst 7.0 Application Center user management
我已经在 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 中的安装程序复选框。
-应用程序访问控制现在不受限制。稍后我打算添加限制,以便每个用户应该看到不同的应用程序。
-我在 server.xml 中添加了一个 appcenteruser 组,其中有两个用户无法看到上传的应用程序
-appcenteradmin 组的管理员用户能够查看和下载应用程序。
我是否遗漏了 server.xml 或其他 LDAP 配置中的某些内容,或者 Application Center 是否无法正常工作?
在 AppcenterConsole /appcenterconsole/console.html
中单独上传 apk 或 ipa 不会在 /applicationcenter/installers.html
安装程序中为您提供安装。
You need to check the installer check box in the AppcenterConsole
to view it on the installer
The above Properties will appear once you click on the .apk or .ipa file in the /appcenterconsole/console.html
just check the installer and click apply and ok buttons.
前往/appcenterconsole/console.html
查看名为 AccessControl :
的选项,它将与您的 apk 文件一起出现在您的 apk 文件右侧,如下图所示
Click on that and there will be an option called Access control
enabled
check the box and add your users or groups
or make it
unchecked so it is unrestricted
so that all can use it.
终于成功了,错误是我将组名添加到
<!-- 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 随服务器一起提供。只有这样,限制才会起作用。无论如何,将 IBM App Center 通过 Application Center 驱动器分发到一个安全问题,虽然您必须在 Web 上登录,并且 Web 允许查看所有应用程序,但它不能限制用户权限。
我已经在 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 中的安装程序复选框。
-应用程序访问控制现在不受限制。稍后我打算添加限制,以便每个用户应该看到不同的应用程序。
-我在 server.xml 中添加了一个 appcenteruser 组,其中有两个用户无法看到上传的应用程序
-appcenteradmin 组的管理员用户能够查看和下载应用程序。
我是否遗漏了 server.xml 或其他 LDAP 配置中的某些内容,或者 Application Center 是否无法正常工作?
在 AppcenterConsole /appcenterconsole/console.html
中单独上传 apk 或 ipa 不会在 /applicationcenter/installers.html
安装程序中为您提供安装。
You need to check the installer check box in the AppcenterConsole to view it on the installer
The above Properties will appear once you click on the .apk or .ipa file in the
/appcenterconsole/console.html
just check the installer and click apply and ok buttons.
前往/appcenterconsole/console.html
查看名为 AccessControl :
的选项,它将与您的 apk 文件一起出现在您的 apk 文件右侧,如下图所示
Click on that and there will be an option called
Access control enabled
check the box andadd your users or groups
or make it unchecked so it isunrestricted
so that all can use it.
终于成功了,错误是我将组名添加到
<!-- 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 随服务器一起提供。只有这样,限制才会起作用。无论如何,将 IBM App Center 通过 Application Center 驱动器分发到一个安全问题,虽然您必须在 Web 上登录,并且 Web 允许查看所有应用程序,但它不能限制用户权限。