26. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:21:45 PM Central Daylight 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 C:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyCPP.java Fri Feb 10 15:41:44 2017 UTC
2 eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\archive\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyCPP.java Mon Apr 3 14:22:54 2017 UTC

26.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 104
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.Sta teless;
  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   @Stateless (name = "P DPProxyCPP ")
  21   public cla ss PDPProx yCPP imple ments PDPP roxyLocal
  22   {
  23           pr ivate Perm issionPDPS ervice per missionPDP Service;
  24           pr ivate Prop ertyLookup  propertyL ookup;
  25  
  26           @E JB(beanInt erface = P ropertyLoo kupLocal.c lass, bean Name = "Pr opertyLook up")
  27           pu blic void  setPropert yLookup(Pr opertyLook up propert yLookup)
  28           {
  29                    this .propertyL ookup = pr opertyLook up;
  30           }
  31  
  32           pu blic Respo nseType ch eckPolicy( RequestTyp e request)
  33           {
  34                    retu rn getPerm issionPDPP ort().chec kPolicy(re quest);
  35           }
  36  
  37           pr ivate Perm issionPDPP ortType ge tPermissio nPDPPort()
  38           {
  39                    if(p ermissionP DPService  == null)
  40                    {
  41                             try
  42                             {
  43                                      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"));
  44                             }
  45                             catch( Throwable  t)
  46                             {
  47                                      throw ne w RuntimeE xception(" Unable to  get Permis sionPDPPor t.");
  48                             }
  49                    }
  50  
  51                    retu rn permiss ionPDPServ ice.getPer missionPDP Port();
  52           }
  53   }