160. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/13/2018 10:35:24 AM Eastern Standard 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.

160.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\common SecurityService.java Fri Dec 7 17:36:30 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\common SecurityService.java Wed Dec 12 22:33:39 2018 UTC

160.2 Comparison summary

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

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

160.4 Active regular expressions

No regular expressions were active.

160.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrig ht � 2010  VHA. All r ights rese rved
  3    ********* ********** ********** ********** ********** ********** *********/
  4   package go v.va.med.c cht.servic e.common;
  5  
  6   import jav a.util.Lis t;
  7  
  8   import gov .va.med.cc ht.model.U ser;
  9   import gov .va.med.cc ht.model.t erminology .FederalHo liday;
  10   import gov .va.med.fw .model.Ent ityKey;
  11   import gov .va.med.fw .model.lda p.LdapPers on;
  12   import gov .va.med.fw .model.lda p.SearchCr iteria;
  13   import gov .va.med.fw .security. Permission ;
  14   import gov .va.med.fw .security. Role;
  15   import gov .va.med.fw .security. SimpleRole ;
  16   import gov .va.med.fw .service.S erviceExce ption;
  17  
  18   /**
  19    * 
  20    * Interfa ce for Sec urity Serv ies requir ed by IHTA
  21    * 
  22    * IHTA IH TA_common  Jun 24, 20 10
  23    * 
  24    * @author   DNS
  25    */
  26   public int erface Sec urityServi ce extends  gov.va.me d.fw.secur ity.Securi tyService  {
  27           /* *
  28            *  Get User  by Name
  29            *  
  30            *  @param us erName
  31            *  @return
  32            *  @throws S erviceExce ption
  33            * /
  34           pu blic User  getUser(St ring userN ame) throw s ServiceE xception;
  35  
  36   //      /* *
  37   //       *  Get User  by Entity  Key
  38   //       *  
  39   //       *  @param en tityKey
  40   //       *  @return
  41   //       *  @throws S erviceExce ption
  42   //       * / TODO Fig ure out if  this is u sed anywhe re.
  43   //      pu blic User  getUser(En tityKey<Us er> entity Key) throw s ServiceE xception;
  44           pu blic Role  getRole(En tityKey<?>  entityKey ) throws S erviceExce ption;
  45           
  46           pu blic Role  getRoleByI d(long id) ;
  47           
  48           pu blic LdapP erson getL dapUser(St ring samAc ountName)  throws Ser viceExcept ion;
  49           
  50           pu blic Boole an authent icateLdapU ser(String  userDn, S tring pass word) thro ws Service Exception;
  51           
  52           /* *
  53            *  Create us er in IHTA  database
  54            *  
  55            *  @param us er
  56            *  @throws S erviceExce ption
  57            * /
  58           pu blic void  createUser (User user ) throws S erviceExce ption;
  59  
  60           /* *
  61            *  update Us er
  62            *  
  63            *  @param us er
  64            *  @throws S erviceExce ption
  65            * /
  66           pu blic void  updateUser (User user ) throws S erviceExce ption;
  67  
  68           /* *
  69            *  update ro le
  70            *  
  71            *  @param ro le
  72            *  @throws S erviceExce ption
  73            * /
  74           pu blic void  updateRole (Role role ) throws S erviceExce ption;
  75  
  76           /* *
  77            *  Delete a  role from  LDAP and I HTA Databa se
  78            *  
  79            *  @param ro le
  80            *  @throws S erviceExce ption
  81            * /
  82           pu blic void  deleteRole (Role role ) throws S erviceExce ption;
  83  
  84           /* *
  85            *  Get list  of availab le role na mes for gr anting thi s interfac e is for
  86            *  assigning  the roles  in LDAP w hich requi res common  name of r oles
  87            *  
  88            *  @throws S erviceExce ption
  89            * /
  90   //      pu blic Set<S tring> get AvailableR oleNames(A pplication  applicati on) throws  ServiceEx ception;
  91  
  92   //      pu blic Set<S tring> get AvailableR oleNames()  throws Se rviceExcep tion;
  93           pu blic List< SimpleRole > getAllSi mpleRoles( ) throws S erviceExce ption;
  94           
  95           pu blic List< Role> getA llRoles()  throws Ser viceExcept ion;
  96  
  97           pu blic List< FederalHol iday> getH olidays(in t year) th rows Servi ceExceptio n;
  98  
  99           pu blic List< Permission > getAllPe rmissions( ) throws S erviceExce ption;
  100  
  101           pu blic List< User> find AppUsers(S earchCrite ria search Criteria)  throws Ser viceExcept ion;
  102  
  103           pu blic List< String> ge tUserIds()  throws Se rviceExcep tion;
  104           
  105           pu blic int u pdateUsers (List<Stri ng> userId s) throws  ServiceExc eption;
  106           pu blic List< User> getS ubmittedRe gistration s(Integer  visnId, In teger faci lityId) th rows Servi ceExceptio n;
  107           pu blic List< User> getN ewRegistra tions(Inte ger visnId , Integer  facilityId ) throws S erviceExce ption;
  108           pu blic List< SimpleRole > getAllDM PRoles() t hrows Serv iceExcepti on;
  109           pu blic List< User> getS ubmittedRe gistration sForDmp(In teger visn Id, Intege r facility Id) throws  ServiceEx ception;
  110   }