10. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/24/2017 5:17:18 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.

10.1 Files compared

# Location File Last Modified
1 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_common\mhv-common-api\src\main\java\gov\va\med\mhv\common\api\security TrustedServiceAuthenticationFilter.java Tue Feb 23 18:57:42 2016 UTC
2 MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_common\mhv-common-api\src\main\java\gov\va\med\mhv\common\api\security TrustedServiceAuthenticationFilter.java Fri Mar 24 19:56:15 2017 UTC

10.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 46
Changed 1 2
Inserted 0 0
Removed 0 0

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

10.4 Active regular expressions

No regular expressions were active.

10.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.m hv.common. api.securi ty;
  5  
  6   import org .apache.cx f.intercep tor.securi ty.Authent icationExc eption;
  7   import org .apache.cx f.message. Message;
  8  
  9   /**
  10    * @author   DNS
  11    *
  12    */
  13   public cla ss Trusted ServiceAut henticatio nFilter ex tends ApiA uthenticat ionFilter  {
  14           
  15           @O verride
  16           pr otected vo id doAuthe ntication( Message m)  throws Au thenticati onExceptio n, Securit yException  {
  17                    
  18                    if(! m.get(Mess age.REQUES T_URI).toS tring().co ntains("/t rusted/"))  {
  19                             throw  new Securi tyExceptio n("Authori zation key  mismatch" );
  20                    }
  21                    
  22                    supe r.doAuthen tication(m );
  23           }
  24   }