Produced by Araxis Merge on 12/13/2018 10:35:31 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\security | UserPrincipal.java | Fri Dec 7 17:36:20 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\security | UserPrincipal.java | Mon Dec 10 17:43:09 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 234 |
| 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 | * 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 | import jav a.util.Dat e; | |
| 8 | import jav a.util.Set ; | |
| 9 | import jav a.util.Tim eZone; | |
| 10 | ||
| 11 | import org .springfra mework.sec urity.core .GrantedAu thority; | |
| 12 | import org .springfra mework.sec urity.core .userdetai ls.UserDet ails; | |
| 13 | ||
| 14 | /** | |
| 15 | * UserPri ncipal, ex tends from Principal , UserDeta ils and pr ovides use r profile | |
| 16 | * and Use rPrincipal also cont ains a set of Grante dAuthoriti es or role s | |
| 17 | * | |
| 18 | * @author DN S KATIKM | |
| 19 | * @versio n 1.0 | |
| 20 | */ | |
| 21 | public int erface Use rPrincipal <T> extend s UserDeta ils { | |
| 22 | ||
| 23 | /* * | |
| 24 | * First nam e of the u ser | |
| 25 | * | |
| 26 | * @return S tring - fi rst name o f a user | |
| 27 | * / | |
| 28 | pu blic Strin g getFirst Name(); | |
| 29 | ||
| 30 | /* * | |
| 31 | * Middle na me of the user | |
| 32 | * | |
| 33 | * @return S tring - mi ddle name of a user | |
| 34 | * / | |
| 35 | pu blic Strin g getMiddl eName(); | |
| 36 | ||
| 37 | /* * | |
| 38 | * Last name of the us er | |
| 39 | * | |
| 40 | * @return S tring - La st name of a user | |
| 41 | * / | |
| 42 | pu blic Strin g getLastN ame(); | |
| 43 | ||
| 44 | /* * | |
| 45 | * @return S tring - pa ssword of the user | |
| 46 | * / | |
| 47 | pu blic Strin g getPassw ord(); | |
| 48 | ||
| 49 | /* * | |
| 50 | * Check whe ther is us er the ano nymous use r or not. | |
| 51 | * | |
| 52 | * @return t rue if ano nymous, fa lse otherw ise. | |
| 53 | * / | |
| 54 | pu blic boole an isAnony mous(); | |
| 55 | ||
| 56 | /* * | |
| 57 | * Get gener ic Authori ty object that imple ments Gran tedAuthori ty Interfa ce | |
| 58 | * | |
| 59 | * @return | |
| 60 | * / | |
| 61 | pu blic Colle ction<? ex tends Gran tedAuthori ty> getAut horities() ; | |
| 62 | ||
| 63 | /* * | |
| 64 | * Get the u ser creden tials info rmation fo r this Pri ncipal | |
| 65 | * | |
| 66 | * @return U serCredent ials | |
| 67 | * / | |
| 68 | pu blic UserC redentials getUserCr edentials( ); | |
| 69 | ||
| 70 | /* * | |
| 71 | * Verify wh ether user has the s pecified a uthority g ranted | |
| 72 | * | |
| 73 | * @param pe rmission | |
| 74 | * @return | |
| 75 | * / | |
| 76 | pu blic boole an isPermi ssionGrant ed(String permission ); | |
| 77 | ||
| 78 | /* * | |
| 79 | * Verify wh ether user has one o f the spec ified auth ority gran ted | |
| 80 | * | |
| 81 | * @param pe rmissions | |
| 82 | * @return | |
| 83 | * / | |
| 84 | pu blic boole an isRoleG ranted(Col lection pe rmissions) ; | |
| 85 | ||
| 86 | /* * | |
| 87 | * Get users full name for displ ay purpose s | |
| 88 | * | |
| 89 | * @return | |
| 90 | * / | |
| 91 | pu blic Strin g getFullN ame(); | |
| 92 | ||
| 93 | pu blic boole an isInact ive(); | |
| 94 | ||
| 95 | pu blic Date getInactiv eDate(); | |
| 96 | ||
| 97 | pu blic Strin g getInact iveMessage (); | |
| 98 | ||
| 99 | pu blic boole an isAccou ntLocked() ; | |
| 100 | ||
| 101 | pu blic TimeZ one getCur rentTimeZo ne(); | |
| 102 | ||
| 103 | pu blic void setCurrent TimeZone(T imeZone ti meZone); | |
| 104 | ||
| 105 | pu blic Strin g getDepar tment(); | |
| 106 | ||
| 107 | pu blic Strin g getTitle (); | |
| 108 | ||
| 109 | pu blic Strin g getDescr iption(); | |
| 110 | ||
| 111 | pu blic Strin g getOffic e(); | |
| 112 | ||
| 113 | pu blic Strin g getTelep honeNumber (); | |
| 114 | ||
| 115 | pu blic Strin g getEmail (); | |
| 116 | ||
| 117 | pu blic Set<S tring> get LdapRoles( ); | |
| 118 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.