Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-395

AbstractPolicy: Empty Description element throws NPE

XMLWordPrintable

    • Low

      <Policy PolicyId="urn:oasis:names:tc:xspa:1.0:org.catch-all" RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides">
      <Description></Description>
      <Target />
      <Rule RuleId="" Effect="Permit"></Rule>
      </Policy>

      AbstractPolicy.java
      for (int i = 0; i < children.getLength(); i++) {
      Node child = children.item;
      String cname = SunxacmlUtil.getNodeName(child);

      if (cname.equals("Description"))

      { description = child.getFirstChild().getNodeValue(); }

              anil.saldhana Anil Saldanha (Inactive)
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: