How to change admin-console or jmx-console password in the property file in EAP 5
Issue
- How to change the password specified in
$JBOSS_EAP_HOME/server/$PROFILE/conf/props/jmx-console-users.propertiesfile? - Can not login to jmx-console
- java.lang.SecurityException: [Warning] Authentication exception, principal=jboss
- How to create user to login in Admin-console ?
- Can we change Admin Password of Jboss console using command line?
- Do we need to restart the servers to reflect the values.
- What is recommendation of managing password of admin console, how soon need to change the password.
- How to create login credential for Admin Console, JMX-Console?
- Getting the following exception after changing the password in
$JBOSS_EAP_HOME/server/$PROFILE/conf/props/jmx-console-users.properties:
javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:252)
at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- File based JAAS provider -- this is the default configuration
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.