As @Ankur said you need to configure files in jboss \ server \ default \ conf \ props
I think you want to configure admin console users. Therefore, you need to add one line with your username and password to the jmx-console-users.properties file (for example: username = password => jbatista = portuguese).
It is important that you do not forget to add the role to the user created above / privileges. Like tomcat or any other application server, users have one or more roles, and roles have permissions. In this case, we want the jbatista user to have the JBossAdmin role so that he can deploy the WAR, etc. As with the case of adding a user, we must add another line of input. But instead of jmx-console-users.properties we add the line jbatista = JBossAdmin (username = role) to the jmx-console-roles.properties file
source share