Produced by Araxis Merge on 6/9/2017 3:50:57 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 | Fri Jun 9 19:50:57 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\main\java\gov\va\nvap\server\endpoint\permission\pdp | PDPServiceEndpoint.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 51 |
| 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 | /* | |||||
| 2 | * To chan ge this te mplate, ch oose Tools | Templat es | |||||
| 3 | * and ope n the temp late in th e editor. | |||||
| 4 | */ | |||||
| 5 | package go v.va.nvap. server.end point.perm ission.pdp ; | |||||
| 6 | ||||||
| 7 | import gov .va.nvap.s ervice.per mission.pd p.PDPInter face; | |||||
| 8 | import oas is.names.t c.xacml._2 _0.context .schema.os .RequestTy pe; | |||||
| 9 | import oas is.names.t c.xacml._2 _0.context .schema.os .ResponseT ype; | |||||
| 10 | ||||||
| 11 | import org .springfra mework.ws. client.cor e.WebServi ceTemplate ; | |||||
| 12 | ||||||
| 13 | /** | |||||
| 14 | * PDP Ser vice Endpo int (Proxy /Client) | |||||
| 15 | * | |||||
| 16 | * @author Anand Sas try | |||||
| 17 | */ | |||||
| 18 | public cla ss PDPServ iceEndpoin t implemen ts PDPInte rface { | |||||
| 19 | ||||||
| 20 | pr ivate WebS erviceTemp late pdpWe bServiceTe mplate; | |||||
| 21 | ||||||
| 22 | @O verride | |||||
| 23 | pu blic Respo nseType ch eckPolicy( final Requ estType re quest) { | |||||
| 24 | fina l Response Type respo nse = (Res ponseType) this.pdpW ebServiceT emplate | |||||
| 25 | .marshal SendAndRec eive(reque st); | |||||
| 26 | retu rn respons e; | |||||
| 27 | } | |||||
| 28 | ||||||
| 29 | pu blic void setPdpWebS erviceTemp late( | |||||
| 30 | final WebService Template p dpWebServi ceTemplate ) { | |||||
| 31 | this .pdpWebSer viceTempla te = pdpWe bServiceTe mplate; | |||||
| 32 | } | |||||
| 33 | ||||||
| 34 | /* | |||||
| 35 | * | |||||
| 36 | * @Override public Re sponseType checkPoli cy(Request Type reque st) { | |||||
| 37 | * JAXBEleme nt<Request Type> jaxb Element = new JAXBEl ement<Requ estType>( new | |||||
| 38 | * QName("ur n:oasis:na mes:tc:xac ml:2.0:con text:schem a:os", "Re quest"), | |||||
| 39 | * (Class<Re questType> ) request. getClass() , request) ; final | |||||
| 40 | * JAXBEleme nt<Respons eType> jax bResponse = (JAXBEle ment<Respo nseType>) | |||||
| 41 | * this.pdpW ebServiceT emplate .m arshalSend AndReceive (request); ResponseT ype | |||||
| 42 | * response = null; if (jaxbResp onse != nu ll) { resp onse = | |||||
| 43 | * jaxbRespo nse.getVal ue(); } re turn respo nse; } | |||||
| 44 | * | |||||
| 45 | * private X ACMLContex tHandlerCl ient pdpPr oxy = new | |||||
| 46 | * XACMLCont extHandler Client(); | |||||
| 47 | * | |||||
| 48 | * @Override public Re sponseType checkPoli cy(Request Type reque st) { retu rn | |||||
| 49 | * pdpProxy. getXACMLCo ntextHandl erPort().c heckPolicy (request); } | |||||
| 50 | * / | |||||
| 51 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.