0 Replies Latest reply on May 20, 2002 10:13 AM by ashraf_afifi

    cant make basic auth. work plaese help

    ashraf_afifi

      The following section works fine in sun j2ee reference server. It doesn't work in jboss3.0 + tomcat4 ( no login box). Can anyone tell me what I missed?

      <security-constraint>
      <web-resource-collection>
      <web-resource-name>WRCollection</web-resource-name>
      <url-pattern>/servlet/com.nybot.ecops.seller.ControlServlet_1</url-pattern>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
      </web-resource-collection>
      <auth-constraint>
      <role-name>seller</role-name>
      </auth-constraint>
      <user-data-constraint>
      <transport-guarantee>NONE</transport-guarantee>
      </user-data-constraint>
      </security-constraint>
      <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>MemoryRealm</realm-name>
      </login-config>
      <security-role>
      seller role
      <role-name>seller</role-name>
      </security-role>