1 Reply Latest reply on Jun 23, 2005 6:36 PM by mtedone1

    Can't access a secured JMX-Console with JBoss 4.0.2

    mtedone1

      Hi, I'm following the instructions (quitly unanimous) about how to (simply) secure a JMX console.

      Although it seems I can login, a 403 error message is returned. Here is what I did:

      uncommented what had to be uncommented from the web.xml and jboss-web.xml under the jmx-console.war folder.

      Very basic. I left the properties files defined under conf/props as those are referenced by the login-config.xml file (which I didn't touch).

      When I access the JMX console the login form appears, I type username and password and then the following message appears:



      Access to the requested resource has been denied

      description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.



      I also tried to change the properties file with a unique name and then changed the login-config.xml file to reflect those changes. I could see that during login those properties files were loaded, by at the end I obtain the same result.

      What am I missing?

        • 1. Re: Can't access a secured JMX-Console with JBoss 4.0.2
          mtedone1

          This is the output of the JBoss log file in DEBUG mode:



          2005-06-23 23:34:53,750 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@810768
          2005-06-23 23:34:53,750 DEBUG [org.jboss.security.plugins.JaasSecurityManager.jmx-console] CachePolicy set to: org.jboss.util.TimedCachePolicy@10d7792
          2005-06-23 23:34:53,750 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@10d7792
          2005-06-23 23:34:53,750 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added jmx-console, org.jboss.security.plugins.SecurityDomainContext@1254e47 to map
          2005-06-23 23:34:53,781 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[admin]
          2005-06-23 23:34:53,781 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[admin]