JBoss Console JMX-Console's Security Settings
Preface:
Use JBoss and start JBOSS, type in the address bar of the browser window.
Http: // localhost: 8080 / jmx-console can browse some information about JBoss deployment management, by default, you can enter this page by default, it can enter this page, which is convenient, but it is still a safe hidden danger. Because anyone just knows that Server IP can go in. Let's configure JBoss for this issue so that access JMX-Console must know the username and password to go in to visit J
surroundings
JBoss3.2.2
step:
1. Enter JMX-Console.war, usually this directory in the {jboss_home} / server / default / deploy directory.
2. Edit the web-inf / web.xml in this directory, and comment out the
3. Edit the Roles.properties and Users.properties of the web-inf / classes under this directory;
1) Use the username and password in the users.properties file, format UserName = Password. Of course, multiple users can be added in this format.
2) The username and role define the username and role in the Roles.Properties file, format UserName = Role. The Role here must correspond to
4. Edit the Web-INF / JBOSS-Web.xml file, open the
There is also: Login-config.xml
FLAG = "Required" /> authentication> application-policy> 5. OK! Everything is big! J Restart JBoss, you will appear in the input username and Password window J