Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/security UnsecureServlet.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/security UnsecureServlet.java

Author commitlogger at hocus dot collab dot net
Full name commitlogger at hocus dot collab dot net
Date 2000-04-28 18:47:07 PDT
Message User: davidp
  Date: 00/04/28 18:47:07

  Modified: java/org/joist/security UnsecureServlet.java
  Log:
  Made the recording of the request conditional on servlet property "logRequest".
  
  Revision Changes Path
  1.8 +17 -13 joist/java/org/joist​/security/UnsecureSe​rvlet.java
  
  Index: UnsecureServlet.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/security/Unsec​ureServlet.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UnsecureServlet.java 2000/04/16 09:44:47 1.7
  +++ UnsecureServlet.java 2000/04/29 01:47:06 1.8
  @@ -69,7 +69,7 @@
    * loading to WebMacro servlets.
    *
    * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
    *
    * Copyright (c) 1999 dataweb systems, inc.
    * Copyright (c) 1999, 2000 Collab.Net, Inc.
  @@ -337,18 +337,22 @@
       removeAsCancel(context);
   
   
  - // Get the name of the primary object ID for the servlet, if any.
  - // Then record the nature of the request for later analysis.
  - String subject = myProperties.getProp​erty("subject");
  - try
  - {
  - sMgr.recordRequest(connection, servletName, action, subject,
  - context.getForm(subject));
  - }
  - catch (SQLException e)
  - {
  - throw new HandlerException(e.g​etMessage());
  - }
  + // Get the name of the primary object ID for the servlet, if any.
  + // Then record the nature of the request for later analysis.
  + String logRequest = myProperties.getProp​erty("logRequest");
  + if (logRequest != null && logRequest.equals("true"))
  + {
  + try
  + {
  + String subject = myProperties.getProp​erty("subject");
  + sMgr.recordRequest(connection, servletName, action, subject,
  + context.getForm(subject));
  + }
  + catch (SQLException e)
  + {
  + throw new HandlerException(e.g​etMessage());
  + }
  + }
   
   
       // Get any broadcast message and put it into the context

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/security UnsecureServlet.java commitlogger at hocus dot collab dot net commitlogger at hocus dot collab dot net 2000-04-28 18:47:07 PDT
Messages per page: