26. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/1/2018 12:13:14 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

26.1 Files compared

# Location File Last Modified
1 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyCPP.java Thu Feb 22 14:25:42 2018 UTC
2 ehealth_xchange_cif.zip\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyCPP.java Tue Feb 27 14:23:58 2018 UTC

26.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 106
Changed 1 2
Inserted 0 0
Removed 0 0

26.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

26.4 Active regular expressions

No regular expressions were active.

26.5 Comparison detail

  1   package go v.va.med.n hin.adapte r.policyen gine.pdppr oxy;
  2  
  3   import jav a.net.URL;
  4  
  5   import jav ax.ejb.EJB ;
  6   import jav ax.ejb.*;
  7   import jav ax.xml.nam espace.QNa me;
  8  
  9   import gov .va.med.nh in.adapter .permissio n.pdp.Perm issionPDPP ortType;
  10   import gov .va.med.nh in.adapter .permissio n.pdp.Perm issionPDPS ervice;
  11   import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup ;
  12   import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup Local;
  13   import oas is.names.t c.xacml._2 _0.context .schema.os .RequestTy pe;
  14   import oas is.names.t c.xacml._2 _0.context .schema.os .ResponseT ype;
  15  
  16   /**
  17    *
  18    * @author   DN S      VAZQUD
  19    */
  20   @Transacti onAttribut e(value =  Transactio nAttribute Type.SUPPO RTS)
  21   @Stateless (name = "P DPProxyCPP ")
  22   public cla ss PDPProx yCPP imple ments PDPP roxyLocal
  23   {
  24           pr ivate Perm issionPDPS ervice per missionPDP Service;
  25           pr ivate Prop ertyLookup  propertyL ookup;
  26  
  27           @E JB(beanInt erface = P ropertyLoo kupLocal.c lass, bean Name = "Pr opertyFile Lookup")
  28           pu blic void  setPropert yLookup(Pr opertyLook up propert yLookup)
  29           {
  30                    this .propertyL ookup = pr opertyLook up;
  31           }
  32  
  33           pu blic Respo nseType ch eckPolicy( RequestTyp e request)
  34           {
  35                    retu rn getPerm issionPDPP ort().chec kPolicy(re quest);
  36           }
  37  
  38           pr ivate Perm issionPDPP ortType ge tPermissio nPDPPort()
  39           {
  40                    if(p ermissionP DPService  == null)
  41                    {
  42                             try
  43                             {
  44                                      permissi onPDPServi ce = new P ermissionP DPService( new URL(pr opertyLook up.getProp erty("Perm issionPDPS erviceWSDL ")), new Q Name("urn: gov:va:med :nhin:adap ter:permis sion:pdp",  "Permissi onPDPServi ce"));
  45                             }
  46                             catch( Throwable  t)
  47                             {
  48                                      throw ne w RuntimeE xception(" Unable to  get Permis sionPDPPor t.");
  49                             }
  50                    }
  51  
  52                    retu rn permiss ionPDPServ ice.getPer missionPDP Port();
  53           }
  54   }