このコンテンツは選択した言語では利用できません。

2.6. Adding Users


Usernames, passwords, and roles are added to properties files.
Usernames and passwords are defined as follows:
username=password
Copy to Clipboard Toggle word wrap
Roles are defined as follows:
username=JBossAdmin,httpInvoker,user,admin
Copy to Clipboard Toggle word wrap
JBoss Enterprise Application Platform and JBoss Enterprise SOA Platform use the brms-users.properties file for usernames and passwords and brms-roles.properties to define roles.
Jboss Enterprise Web Server uses the users.properties file for usernames and passwords and roles.properties to define roles. JBoss Enterprise Web Server users must also add the username, passwords, and roles to the tomcat6/conf/tomcat-users.xml file:
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>


<role rolename="user"/>

<user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,user"/>
Copy to Clipboard Toggle word wrap

Note

Users who are given permission to access the business central console must have one of the following roles: administrator, manager, or user.
Create the properties files in the following directory or on the classpath:
  • JBoss Enterprise Application Platform 5.x:
    jboss-as/server/profile/conf/props/
  • JBoss Enterprise SOA Platform:
    jboss-esb/server/profile/conf/props/
  • JBoss Enterprise Web Server 1:
    tomcat6/lib/
  • JBoss Enterprise Web Server 2
    tomcat7/lib/
  • JBoss Enterprise Application Platform 6:
    jboss-eap-6.0/standalone/configuration/
JBoss Enterprise Application Platform 6 users must update the security domain to include references to brms-users.properties and brms-roles.properties by editing the jboss-eap-6.0/standalone/configuration/standalone.xml by adding the following XML:
<security-domain name="brms" cache-type="default">
   <authentication>
      <login-module code="UsersRoles" flag="required">
         <module-option name="usersProperties" value="${jboss.server.config.dir}/brms-users.properties"/>
         <module-option name="rolesProperties" value="${jboss.server.config.dir}/brms-roles.properties"/>
      </login-module>
   </authentication>
</security-domain>
Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat