279. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/11/2019 10:54:15 AM 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.

279.1 Files compared

# Location File Last Modified
1 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\security AuthenticationToken.java Wed May 29 15:26:20 2019 UTC
2 HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\security AuthenticationToken.java Tue Jun 11 11:41:37 2019 UTC

279.2 Comparison summary

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

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

279.4 Active regular expressions

No regular expressions were active.

279.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2004 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   package go v.va.med.f w.security ;
  5  
  6   import jav a.util.Col lection;
  7  
  8   import org .springfra mework.sec urity.auth entication .UsernameP asswordAut henticatio nToken;
  9   import org .springfra mework.sec urity.core .GrantedAu thority;
  10  
  11   /**
  12    * Impleme ntation of  Authentic ationObjec t. Provide  package p rotected s etter
  13    * methods  to set th e loggedIn  flag and  UserPrinci pal.
  14    * 
  15    * @author   D NS
  16    * @date M ay 3, 2005  10:54:53  AM
  17    */
  18   public cla ss Authent icationTok en extends  UsernameP asswordAut henticatio nToken imp lements
  19                    Auth entication Object {
  20           /* *
  21            *  An instan ce of seri alVersionU ID
  22            * /
  23           pr ivate stat ic final l ong serial VersionUID  = -863930 1379363192 105L;
  24           pr ivate bool ean logged In = false ; // defau lt value.
  25           pr ivate User Principal  userPrinci pal = null ;
  26  
  27           /* *
  28            *  Construct or using p rincipal a nd credent ials.
  29            *  
  30            *  @param pr incipal
  31            *  @param cr edentials
  32            * /
  33           pu blic Authe nticationT oken(Objec t principa l, Object  credential s) {
  34                    supe r(principa l, credent ials);
  35           }
  36  
  37           /* *
  38            *  Construct or using p rincipal,  credential s and gran ted author ities.
  39            *  
  40            *  @param pr incipal
  41            *  @param cr edentials
  42            *  @param au thorities
  43            * /
  44   //      pu blic Authe nticationT oken(Objec t principa l, Object  credential s, Granted Authority[ ] authorit ies) {
  45   //               supe r(principa l, credent ials, auth orities);
  46   //      }
  47           
  48           pu blic Authe nticationT oken(Objec t principa l, Object  credential s, Collect ion<Grante dAuthority > authorit ies) {
  49                    supe r(principa l, credent ials, auth orities);
  50           }
  51  
  52           /*
  53            *  (non-Java doc)
  54            *  
  55            *  @see gov. va.med.fw. security.j aas.Authen ticationOb ject#isLog gedIn()
  56            * /
  57           pu blic boole an isLogge dIn() {
  58                    retu rn loggedI n;
  59           }
  60  
  61           /* *
  62            *  Set the l oggedIn fl ag
  63            * /
  64           vo id setLogg edIn(boole an loggedI n) {
  65                    this .loggedIn  = loggedIn ;
  66           }
  67  
  68           /*
  69            *  (non-Java doc)
  70            *  
  71            *  @see gov. va.med.fw. security.j aas.Authen ticationOb ject#getUs erPrincipa l()
  72            * /
  73           pu blic UserP rincipal g etUserPrin cipal() {
  74                    retu rn userPri ncipal;
  75           }
  76  
  77           /* *
  78            *  Set the U serPrincip al Object.
  79            *  
  80            *  @param us erPrincipa l
  81            * /
  82           vo id setUser Principal( UserPrinci pal userPr incipal) {
  83                    this .userPrinc ipal = use rPrincipal ;
  84           }
  85   }