Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4847

File jboss-ewp-noauth-5.1.0.CR2.zip is with security enabled, testing blocked !

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • EAP_EWP 5.1.0_CR2
    • EAP_EWP 5.1.0_CR2
    • Build
    • None

      EWP 5.1.0.CR2 noauth archive jboss-ewp-noauth-5.1.0.CR2.zip has enabled security ! It blocks testing.

      File downloaded from http://download.devel.redhat.com/devel/candidates/JBEWP/JBEWP-5.1.0-CR2/

      [rsvoboda@rosta-ntb TESTING]$ unzip -q jboss-ewp-noauth-5.1.0.CR2.zip
      [rsvoboda@rosta-ntb TESTING]$ tail -30 jboss-ewp-5.1/jboss-as-web/server/default/deploy/jmx-console.war/WEB-INF/web.xml
      <location>/genericError.jsp</location>
      </error-page>

      <!-- 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.
      -->
      <security-constraint>
      <web-resource-collection>
      <web-resource-name>HtmlAdaptor</web-resource-name>
      <description>An example security config that only allows users with the
      role JBossAdmin to access the HTML JMX console web application
      </description>
      <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
      <role-name>JBossAdmin</role-name>
      </auth-constraint>
      </security-constraint>

      <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>JBoss JMX Console</realm-name>
      </login-config>

      <security-role>
      <role-name>JBossAdmin</role-name>
      </security-role>
      </web-app>

              rsvoboda@redhat.com Rostislav Svoboda
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: