## CSDN博客

### Jboss控制台jmx-console的安全设置

jboss3.2.2

1. 进入jmx-console.war，通常此目录在{jboss_home}/server/default/deploy目录下。
2. 编辑该目录下的WEB-INF/web.xml，把<security-constraint>部分注释去掉
3. 编辑该目录下的WEB-INF/classes的roles.properties和users.properties；其中
<security-domain>java:/jaas/jmx-console</security-domain>

<application-policy name = "jmx-console">
<authentication>
flag = "required" />
</authentication>
</application-policy>

Another users.properties is most likely being picked up. Change the web-console login-config.xml entry so that that properties files are uniquely named to avoid ambiguity with which resource is picked up. You also would need to rename the web-console properties files.
 Code:  web-console-users.properties web-console-roles.properties 

0 0