此内容没有您所选择的语言版本。

Chapter 3. User Authorization


3.1. Enabling Role-Based Authorization

JBoss BRMS uses role-based authorization to assign user permissions. Role-based authorization is disabled by default and all users have full administrative permissions.

Procedure 3.1.  Enable Role-Based Authorization

  1. Before enabling role-based authorization, it is necessary to assign one trusted user the admin role.
    1. From the JBoss Enterprise BRMS web user interface navigation panel, select Administration User Permissions.
    2. Click Create new user mapping and enter the name of the user to be granted Admin permissions. Note, this user must already exist in the brms-users.properties file.
    3. Click Open next to the username whose permissions are being changed.
    4. Click the plus icon to add permissions, and select admin, click OK, and click Save changes.
      After the system has saved the changes Yes will be displayed under Administrator.
  2. Shut down the application server before making these changes.
  3. Open the jboss-as/server/production/deploy/jboss-brms.war/WEB-INF/components.xml file in a text editor.
  4. In the default components.xml file, locate the following code and replace false with true:
    <component name="org.jboss.seam.security.roleBasedPermissionResolver">
       <property name="enableRoleBasedAuthorization">false</property>
    </component>
    

    Note

    In versions 5.1 and earlier, locate and edit the following XML replacing false with true:
    <security:role-based-permission-resolver enable-role-based-authorization="false"/<
    
  5. Restart the application server.
  6. Log back into the BRMS web user interface. From the navigation panel, select Administration User Permissions and assign users roles as required.
  7. Click Open next to the username whose permissions are being changed. Select the required role for the user, click OK, and click Save changes.

    Note

    Users can be assigned more than one role.
    Users assigned the admin role can modify the roles and permissions of other users.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部