JBoss jmx-consoleの検証を追加
一、jmx-console安全制御を開く
1.deploy/jmx-console.war/WEB-INF/ディレクトリの下で、jboss-webを見つけます.xml、ペアを解く
に表示されます.
2.同じディレクトリの下で、webを開きます.xml.ペアをキャンセル
に表示されます.
3.server/xxx/conf/propsディレクトリの下で、のjmx-console-rolesを変更します.properties,jmx-console-users.properties、ユーザー名パスワード.
1.deploy/jmx-console.war/WEB-INF/ディレクトリの下で、jboss-webを見つけます.xml、ペアを解く
<security-domain>java:/jaas/jmx-console</security-domain>
に表示されます.
2.同じディレクトリの下で、webを開きます.xml.ペアをキャンセル
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
<description>An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
</description>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>JBossAdmin</role-name>
</auth-constraint>
</security-constraint>
に表示されます.
3.server/xxx/conf/propsディレクトリの下で、のjmx-console-rolesを変更します.properties,jmx-console-users.properties、ユーザー名パスワード.