Produced by Araxis Merge on 8/16/2018 1:18:05 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Caregivers_Tool_CareT_v1_Build 4.zip\core\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\iam | IamService.java | Thu Aug 9 14:03:57 2018 UTC |
| 2 | Caregivers_Tool_CareT_v1_Build 4.zip\core\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\iam | IamService.java | Thu Aug 16 01:36:22 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 132 |
| Changed | 1 | 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.iam; | |
| 2 | ||
| 3 | import jav a.io.IOExc eption; | |
| 4 | import jav a.util.Col lections; | |
| 5 | import jav a.util.Lis t; | |
| 6 | import jav a.util.Map ; | |
| 7 | ||
| 8 | import jav ax.xml.par sers.Parse rConfigura tionExcept ion; | |
| 9 | import jav ax.xml.tra nsform.Tra nsformerEx ception; | |
| 10 | ||
| 11 | import org .xml.sax.S AXExceptio n; | |
| 12 | ||
| 13 | import gov .va.iam.es ig.dss.Add UserFailed Exception_ Exception; | |
| 14 | import gov .va.iam.es ig.dss.ESi gDSS; | |
| 15 | import gov .va.iam.es ig.dss.ESi gDSSServic e; | |
| 16 | import gov .va.iam.es ig.dss.Exc eption_Exc eption; | |
| 17 | import gov .va.iam.es ig.dss.Sig nFailedExc eption_Exc eption; | |
| 18 | import gov .va.iam.es ig.dss.Uns upportedFi leTypeExce ption_Exce ption; | |
| 19 | import gov .va.oit.oe d. DNS .AttendedS ervice; | |
| 20 | import gov .va.oit.oe d. DNS .Unattende dService; | |
| 21 | ||
| 22 | public cla ss IamServ ice { | |
| 23 | ||
| 24 | pu blic final static St ring appId = "200CAR E"; | |
| 25 | fi nal static String re ason = "Ap prove"; | |
| 26 | fi nal static String fi leName = " 10-10CG.pd f"; | |
| 27 | ||
| 28 | pr ivate IamS ervice(){} | |
| 29 | ||
| 30 | pr ivate stat ic ESigDSS getEsigPo rt(){ | |
| 31 | retu rn new ESi gDSSServic e().getESi gDSSPort() ; | |
| 32 | } | |
| 33 | ||
| 34 | pu blic stati c String v erifyPdf(b yte[] file , String u serId) thr ows Except ion_Except ion{ | |
| 35 | retu rn getEsig Port().ver ify(appId, fileName, file, use rId); | |
| 36 | } | |
| 37 | ||
| 38 | pu blic stati c byte[] s ignPdf(Str ing userid , String c ommonname, String em ail, byte[ ] file, St ring signF ield, Stri ng gmtoffs et ) | |
| 39 | throws Exc eption_Exc eption, Ad dUserFaile dException _Exception , SignFail edExceptio n_Exceptio n, Unsuppo rtedFileTy peExceptio n_Exceptio n{ | |
| 40 | retu rn getEsig Port().sig n(userid, commonname , email, a ppId, file Name, file , reason, gmtoffset, null, nul l, null, n ull, null, signField ); | |
| 41 | } | |
| 42 | ||
| 43 | pu blic stati c void tes tMvi(){ | |
| 44 | try { | |
| 45 | new Un attendedSe rvice().te stMvi(); | |
| 46 | } ca tch (IOExc eption | P arserConfi gurationEx ception | SAXExcepti on | Trans formerExce ption e) { | |
| 47 | e.prin tStackTrac e(); | |
| 48 | } | |
| 49 | } | |
| 50 | ||
| 51 | pu blic stati c Map<Stri ng,Object> searchUna ttended(Ma p<String, Object> ma p) { | |
| 52 | try { | |
| 53 | return new Unatt endedServi ce().searc hUnattende d(map); | |
| 54 | } ca tch (IOExc eption | P arserConfi gurationEx ception | SAXExcepti on | Trans formerExce ption e) { | |
| 55 | e.prin tStackTrac e(); | |
| 56 | } | |
| 57 | retu rn null; | |
| 58 | } | |
| 59 | ||
| 60 | pu blic stati c List<Map <String,Ob ject>> sea rchAttende d(Map<Stri ng, Object > map) { | |
| 61 | try { | |
| 62 | return new Atten dedService ().searchA ttended(ma p); | |
| 63 | } ca tch (IOExc eption | P arserConfi gurationEx ception | SAXExcepti on | Trans formerExce ption e) { | |
| 64 | e.prin tStackTrac e(); | |
| 65 | } | |
| 66 | retu rn null; | |
| 67 | } | |
| 68 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.