48. 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.

48.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\main\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyVAP.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\main\java\gov\va\med\nhin\adapter\policyengine\pdpproxy PDPProxyVAP.java Mon Apr 3 14:23:30 2017 UTC

48.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 96
Changed 2 4
Inserted 0 0
Removed 0 0

48.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

48.4 Active regular expressions

No regular expressions were active.

48.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 .propertyl ookup.Prop ertyLookup ;
  10   import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup Local;
  11   import gov .va.med.nh in.vap.ser ver.servic e.permissi on.context handler.XA CMLContext HandlerPor tType;
  12   import gov .va.med.nh in.vap.ser ver.servic e.permissi on.context handler.XA CMLContext HandlerSer vice;
  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 DPProxyVAP ")
  21   public cla ss PDPProx yVAP imple ments PDPP roxyLocal
  22   {
  23       privat e XACMLCon textHandle rService x acmlContex tHandlerSe rvice;
  24       privat e Property Lookup pro pertyLooku p;
  25  
  26       @EJB(b eanInterfa ce = Prope rtyLookupL ocal.class , beanName  = "Proper tyLookup")
  27       public  void setP ropertyLoo kup(Proper tyLookup p ropertyLoo kup)
  28       {
  29           th is.propert yLookup =  propertyLo okup;
  30       }
  31  
  32       public  ResponseT ype checkP olicy(Requ estType re quest)
  33       {
  34           re turn getXA CMLContext HandlerPor t().checkP olicy(requ est);
  35       }
  36  
  37       privat e XACMLCon textHandle rPortType  getXACMLCo ntextHandl erPort()
  38       {
  39           if  (xacmlCon textHandle rService = = null) {
  40                try {
  41                      xacmlConte xtHandlerS ervice = n ew XACMLCo ntextHandl erService( new URL(pr opertyLook up.getProp erty("XACM LContextHa ndlerServi ceWSDL")),  new QName ("http://c ontexthand ler.permis sion.servi ce.server. vap.nhin. URL         /", "XACML ContextHan dlerServic e"));
  42                }
  43                catch (T hrowable t ) {
  44                    thro w new Runt imeExcepti on("Unable  to get XA CMLContext HandlerPor t.", t);
  45                }
  46           }
  47  
  48           re turn xacml ContextHan dlerServic e.getXACML ContextHan dlerPort() ;
  49       }
  50   }