Produced by Araxis Merge on 6/11/2019 10:54:09 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\service\common | SecurityService.java | Wed May 29 15:26:02 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\service\common | SecurityService.java | Mon Jun 10 19:19:21 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 228 |
| Changed | 1 | 2 |
| 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 | /********* ********** ********** ********** ********** ********** ********* | |
| 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 | import org .springfra mework.bea ns.factory .annotatio n.Autowire d; | |
| 18 | import org .springfra mework.ste reotype.Se rvice; | |
| 19 | ||
| 20 | /** | |
| 21 | * | |
| 22 | * Interfa ce for Sec urity Serv ies requir ed by IHTA | |
| 23 | * | |
| 24 | * IHTA IH TA_common Jun 24, 20 10 | |
| 25 | * | |
| 26 | * @author DNS | |
| 27 | */ | |
| 28 | @Service | |
| 29 | public int erface Sec urityServi ce extends gov.va.me d.fw.secur ity.Securi tyService { | |
| 30 | /* * | |
| 31 | * Get User by Name | |
| 32 | * | |
| 33 | * @param us erName | |
| 34 | * @return | |
| 35 | * @throws S erviceExce ption | |
| 36 | * / | |
| 37 | pu blic User getUser(St ring userN ame) throw s ServiceE xception; | |
| 38 | ||
| 39 | // /* * | |
| 40 | // * Get User by Entity Key | |
| 41 | // * | |
| 42 | // * @param en tityKey | |
| 43 | // * @return | |
| 44 | // * @throws S erviceExce ption | |
| 45 | // * / TODO Fig ure out if this is u sed anywhe re. | |
| 46 | // pu blic User getUser(En tityKey<Us er> entity Key) throw s ServiceE xception; | |
| 47 | pu blic Role getRole(En tityKey<?> entityKey ) throws S erviceExce ption; | |
| 48 | ||
| 49 | pu blic Role getRoleByI d(long id) ; | |
| 50 | ||
| 51 | pu blic LdapP erson getL dapUser(St ring samAc ountName) throws Ser viceExcept ion; | |
| 52 | ||
| 53 | pu blic Boole an authent icateLdapU ser(String userDn, S tring pass word) thro ws Service Exception; | |
| 54 | ||
| 55 | /* * | |
| 56 | * Create us er in IHTA database | |
| 57 | * | |
| 58 | * @param us er | |
| 59 | * @throws S erviceExce ption | |
| 60 | * / | |
| 61 | pu blic void createUser (User user ) throws S erviceExce ption; | |
| 62 | ||
| 63 | /* * | |
| 64 | * update Us er | |
| 65 | * | |
| 66 | * @param us er | |
| 67 | * @throws S erviceExce ption | |
| 68 | * / | |
| 69 | pu blic void updateUser (User user ) throws S erviceExce ption; | |
| 70 | ||
| 71 | /* * | |
| 72 | * update ro le | |
| 73 | * | |
| 74 | * @param ro le | |
| 75 | * @throws S erviceExce ption | |
| 76 | * / | |
| 77 | pu blic void updateRole (Role role ) throws S erviceExce ption; | |
| 78 | ||
| 79 | /* * | |
| 80 | * Delete a role from LDAP and I HTA Databa se | |
| 81 | * | |
| 82 | * @param ro le | |
| 83 | * @throws S erviceExce ption | |
| 84 | * / | |
| 85 | pu blic void deleteRole (Role role ) throws S erviceExce ption; | |
| 86 | ||
| 87 | /* * | |
| 88 | * Get list of availab le role na mes for gr anting thi s interfac e is for | |
| 89 | * assigning the roles in LDAP w hich requi res common name of r oles | |
| 90 | * | |
| 91 | * @throws S erviceExce ption | |
| 92 | * / | |
| 93 | // pu blic Set<S tring> get AvailableR oleNames(A pplication applicati on) throws ServiceEx ception; | |
| 94 | ||
| 95 | // pu blic Set<S tring> get AvailableR oleNames() throws Se rviceExcep tion; | |
| 96 | pu blic List< SimpleRole > getAllSi mpleRoles( ) throws S erviceExce ption; | |
| 97 | ||
| 98 | pu blic List< Role> getA llRoles() throws Ser viceExcept ion; | |
| 99 | ||
| 100 | pu blic List< FederalHol iday> getH olidays(in t year) th rows Servi ceExceptio n; | |
| 101 | ||
| 102 | pu blic List< Permission > getAllPe rmissions( ) throws S erviceExce ption; | |
| 103 | ||
| 104 | pu blic List< User> find AppUsers(S earchCrite ria search Criteria) throws Ser viceExcept ion; | |
| 105 | ||
| 106 | pu blic List< String> ge tUserIds() throws Se rviceExcep tion; | |
| 107 | ||
| 108 | pu blic List< User> getU sersByVisn (int visnI d); | |
| 109 | ||
| 110 | pu blic int u pdateUsers (List<Stri ng> userId s) throws ServiceExc eption; | |
| 111 | pu blic List< User> getS ubmittedRe gistration s(Integer visnId, In teger faci lityId) th rows Servi ceExceptio n; | |
| 112 | pu blic List< User> getN ewRegistra tions(Inte ger visnId , Integer facilityId ) throws S erviceExce ption; | |
| 113 | pu blic List< SimpleRole > getAllDM PRoles() t hrows Serv iceExcepti on; | |
| 114 | pu blic List< User> getS ubmittedRe gistration sForDmp(In teger visn Id, Intege r facility Id) throws ServiceEx ception; | |
| 115 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.