[jboss-user] [Management, JMX/JBoss] - Re: Deploy JBoss Admin console
erasmomarciano
do-not-reply at jboss.com
Thu Aug 7 05:26:55 EDT 2008
HI,
For configure basic authentication users, you modify web.xml of your enable:
A security constraint that restricts access to the HTML JMX console
to users with the role JBossAdmin. Edit the roles to what you want and
uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
secured access to the HTML JMX console
1) you have to create two properties file at path ../conf
the first file ROLES:
Second file USERS
2) you edit login-config.xm
add the following code
<application-policy name = "_____your web-app">
| <authentication>
| <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
| flag = "required">
| <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
| <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
| </login-module>
| </authentication>
| </application-policy
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169247#4169247
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169247
More information about the jboss-user
mailing list