4262. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:24 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.

4262.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:24 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-web\src\main\java\gov\va\nvap\web\auth Logout.java Fri Apr 21 20:15:58 2017 UTC

4262.2 Comparison summary

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

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

4262.4 Active regular expressions

No regular expressions were active.

4262.5 Comparison detail

        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  
        6   package go v.va.nvap. web.auth;
        7  
        8   import jav a.io.IOExc eption;
        9  
        10   import jav ax.servlet .ServletEx ception;
        11   import jav ax.servlet .http.Http ServletReq uest;
        12   import jav ax.servlet .http.Http ServletRes ponse;
        13   import jav ax.servlet .http.Http Session;
        14  
        15   import org .apache.co mmons.logg ing.Log;
        16   import org .apache.co mmons.logg ing.LogFac tory;
        17  
        18   /**
        19    * @author  Asha Amri traj
        20    */
        21   public cla ss Logout  extends go v.va.nvap. web.app.Re sponseDisp atcherHttp Servlet {
        22           st atic priva te final L og LOG = L ogFactory. getLog(Log out.class) ;
        23           /* *
        24            *  Serial UI D.
        25            * /
        26           pr ivate stat ic final l ong serial VersionUID  = -318936 5467385438 666L;
        27  
        28       privat e static f inal Strin g LOGOUT_U RL_HEADER  = "SSOI-LA NDING-URL" ;
        29  
        30           @O verride
        31           pr otected vo id unspeci fied(final  HttpServl etRequest  request,
        32                             final  HttpServle tResponse  response)  throws Ser vletExcept ion,
        33                             IOExce ption {
        34                    fina l HttpSess ion sessio n = reques t.getSessi on(false);
        35                    // I nvalidate  the sessio n after lo gout
        36                    if ( session !=  null) {
        37                             if (Lo gout.LOG.i sInfoEnabl ed()) {
        38                                      //Logout .LOG.info( "VAP Logou t Success" );
        39                             }
        40                             sessio n.invalida te();
        41                    }
        42                    // S uccess
        43           re sponse.sen dRedirect( request.ge tHeader(LO GOUT_URL_H EADER));
        44           }
        45   }