Hi,

    We were using default JRun authentication mechanism (BASIC) in the
web.xml file for validating the access to our servlets. But after putting
the hot patch for the Concurrent requests, the authentication has stopped.
The pop up no longer comes and the servlet is directly run. What might be
wrong? If we revert back the old "connectors" directory and the "lib"
directory then the authentication starts working again.

The code below contains the excerpt of the web.xml where the authentication
is defined

- <login-config>
  <auth-method>BASIC</auth-method>
  <realm-name>Virtual Bureau</realm-name>
  </login-config>
- <security-constraint>
- <web-resource-collection>
  <web-resource-name>Virtual Bureau</web-resource-name>
  <url-pattern>/vbsystest/vb/StartupServlet</url-pattern>
  <url-pattern>/vbsystest/vb/ReceiverServlet</url-pattern>
  <url-pattern>/vbsystest/vb/TransferServlet</url-pattern>
  <http-method>GET</http-method>
  <http-method>POST</http-method>
  <description>Restricted Servlets List</description>
  </web-resource-collection>
- <auth-constraint>
  <role-name>manager</role-name>
  <description>Managers only</description>
  </auth-constraint>
  </security-constraint>
...............
...............
- <servlet>
  <servlet-name>StartupServlet</servlet-name>
  <servlet-class>com.tcook.vb.servlets.StartupServlet</servlet-class>
  <display-name>Start Up Servlet</display-name>
  <description>Loads up classes when starting server</description>
  <load-on-startup>1</load-on-startup>
- <security-role-ref>
  <role-name>MGR</role-name>
  <role-link>manager</role-link>
  </security-role-ref>
  </servlet>
- <servlet-mapping>
  <url-pattern>/vb/StartupServlet</url-pattern>
  <servlet-name>com.tcook.vb.servlets.StartupServlet</servlet-name>
  </servlet-mapping>

The "users.properties" have the following settings
group.all=*
role.user=all
user.admin=XXXXXXXXXXXXXXXX
role.manager=admin

>>>>>>
Thanks in advance

Ajay Mahajan.
Wipro Technologies



------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to