jboynes     2003/11/18 23:45:46

  Modified:    modules/core/src/java/org/apache/geronimo/xml/deployment
                        GeronimoJ2EELoader.java
  Log:
  Security element is optional
  
  Revision  Changes    Path
  1.8       +4 -1      
incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/GeronimoJ2EELoader.java
  
  Index: GeronimoJ2EELoader.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/GeronimoJ2EELoader.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- GeronimoJ2EELoader.java   18 Nov 2003 04:16:22 -0000      1.7
  +++ GeronimoJ2EELoader.java   19 Nov 2003 07:45:46 -0000      1.8
  @@ -206,6 +206,9 @@
   
       public static Security loadSecurity(Element e) {
           Element s = LoaderUtil.getChild(e, "security");
  +        if (s == null) {
  +            return null;
  +        }
           Security security = new Security();
   
           J2EELoader.loadDescribable(s, security);
  
  
  

Reply via email to