Produced by Araxis Merge on 6/9/2017 3:45:44 PM Eastern 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\policyengine\pdpproxy | PDPProxyVAP.java | Wed Apr 5 01:13:54 2017 UTC |
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\AdapterEJB\src\main\java\gov\va\med\nhin\adapter\policyengine\pdpproxy | PDPProxyVAP.java | Thu Jun 1 21:39:24 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 102 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.med.n hin.adapte r.policyen gine.pdppr oxy; | |
| 2 | ||
| 3 | import gov .va.med.nh in.adapter .utils.soa p.handler. SOAPHandle rResolver; | |
| 4 | import jav a.net.URL; | |
| 5 | ||
| 6 | import jav ax.ejb.EJB ; | |
| 7 | import jav ax.ejb.*; | |
| 8 | import jav ax.xml.nam espace.QNa me; | |
| 9 | ||
| 10 | import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup ; | |
| 11 | import gov .va.med.nh in.adapter .propertyl ookup.Prop ertyLookup Local; | |
| 12 | import gov .va.med.nh in.vap.ser ver.servic e.permissi on.context handler.XA CMLContext HandlerPor tType; | |
| 13 | import gov .va.med.nh in.vap.ser ver.servic e.permissi on.context handler.XA CMLContext HandlerSer vice; | |
| 14 | import oas is.names.t c.xacml._2 _0.context .schema.os .RequestTy pe; | |
| 15 | import oas is.names.t c.xacml._2 _0.context .schema.os .ResponseT ype; | |
| 16 | ||
| 17 | /** | |
| 18 | * | |
| 19 | * @author
|
|
| 20 | */ | |
| 21 | @Transacti onAttribut e(value = Transactio nAttribute Type.SUPPO RTS) | |
| 22 | @Stateless (name = "P DPProxyVAP ") | |
| 23 | public cla ss PDPProx yVAP imple ments PDPP roxyLocal | |
| 24 | { | |
| 25 | privat e XACMLCon textHandle rService x acmlContex tHandlerSe rvice; | |
| 26 | privat e Property Lookup pro pertyLooku p; | |
| 27 | ||
| 28 | @EJB(b eanInterfa ce = Prope rtyLookupL ocal.class , beanName = "Proper tyFileLook up") | |
| 29 | public void setP ropertyLoo kup(Proper tyLookup p ropertyLoo kup) | |
| 30 | { | |
| 31 | th is.propert yLookup = propertyLo okup; | |
| 32 | } | |
| 33 | ||
| 34 | public ResponseT ype checkP olicy(Requ estType re quest) | |
| 35 | { | |
| 36 | re turn getXA CMLContext HandlerPor t().checkP olicy(requ est); | |
| 37 | } | |
| 38 | ||
| 39 | privat e XACMLCon textHandle rPortType getXACMLCo ntextHandl erPort() | |
| 40 | { | |
| 41 | if (xacmlCon textHandle rService = = null) { | |
| 42 | try { | |
| 43 | xacmlConte xtHandlerS ervice = n ew XACMLCo ntextHandl erService( new URL(pr opertyLook up.getProp erty("XACM LContextHa ndlerServi ceWSDL")), new QName ("http://
|
|
| 44 | xacm lContextHa ndlerServi ce.setHand lerResolve r(new SOAP HandlerRes olver()); | |
| 45 | } | |
| 46 | catch (T hrowable t ) { | |
| 47 | thro w new Runt imeExcepti on("Unable to get XA CMLContext HandlerPor t.", t); | |
| 48 | } | |
| 49 | } | |
| 50 | ||
| 51 | re turn xacml ContextHan dlerServic e.getXACML ContextHan dlerPort() ; | |
| 52 | } | |
| 53 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.