3 Replies Latest reply on Apr 17, 2006 3:30 AM by oncerest

    "cannot perform access control without an authenticated prin

    sushant248

      As discussed in the startguide.pdf (section 2.2.3 Security Service) of JBoss 4.0.3, i made the changes (basically uncommented code) in jboss-web.xml and web.xml in WEB-INF directory. The JMX-console was working fine earlier but after making the changes, I'm getting "cannot perform access control without an authenticated principal" exception when I click on jmx-console. The document said "If you've configured everything correctly and re-deployed the application, the next time you try to access the JMX Console, JBoss will ask you for a name and password."
      Please help

        • 1. Re: jmx-console
          andrepintorj

          I'm just having the same problem with JBoss 4.0.4 RC1.. Any solution?

          • 2. Re:
            j2ee_junkie

            Did you also make sure your application policy that matches the security domain in your login-config.xml file is uncommented?

            • 3. Re:
              oncerest

              Saw it somewhere else. need add below into web.xml

              <login-config>
              <auth-method>BASIC</auth-method>
              <realm-name>testrealm</realm-name>
              </login-config>