JBoss Console JMX-Console's Security Settings

xiaoxiao2021-03-06  43

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 in the web.xml file.

4. Edit the Web-INF / JBOSS-Web.xml file, open the part of the comment; here content corresponding to the security-domain corresponding {jboss_home} / server / default / conf / login-config. An Application-Policy in the XML this JAAS configuration file. Such as

Java: / jaaas / jmx-console

There is also: Login-config.xml

FLAG = "Required" />

5. OK! Everything is big! J Restart JBoss, you will appear in the input username and Password window J

In addition, I want to set up the Web-Console's setup step, but you need to modify login-config.xml like this.

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:

Flag = "Required">

Web-console-users.properties 转载请注明原文地址:https://www.9cbs.com/read-74837.html


New Post(0)