cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components PipelineAuthenticator.java
Date Tue, 26 Aug 2003 06:43:32 GMT
cziegeler    2003/08/25 23:43:32

  Modified:    src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components
                        PipelineAuthenticator.java
  Log:
  Fixing NPE in authentication reported bySonny Sukumar (ahimsadesi@yahoo.com)
  
  Revision  Changes    Path
  1.3       +3 -1      cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components/PipelineAuthenticator.java
  
  Index: PipelineAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components/PipelineAuthenticator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PipelineAuthenticator.java	4 Aug 2003 03:06:30 -0000	1.2
  +++ PipelineAuthenticator.java	26 Aug 2003 06:43:32 -0000	1.3
  @@ -280,6 +280,8 @@
   
               if (doc != null) {
                   data = DOMUtil.getFirstNodeFromPath(doc, new String[] {"authentication","data"},
false);
  +            } else {
  +                doc = DOMUtil.createDocument();
               }
   
               // now create the following xml:
  
  
  

Mime
View raw message