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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\security | LoginManager.java | Wed May 29 15:26:22 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\fw\security | LoginManager.java | Tue Jun 11 11:41:37 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 202 |
| 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.Tim eZone; | |
| 7 | ||
| 8 | import jav ax.securit y.auth.log in.LoginEx ception; | |
| 9 | import jav ax.servlet .http.Http ServletReq uest; | |
| 10 | ||
| 11 | /** | |
| 12 | * LoginMa nager is t he central ized point to perfor m the auth entication and clean | |
| 13 | * up at t he end. UI use this through Lo gonAction to perform login and | |
| 14 | * Signout Action to perform lo gout at th e end. If the HttpSe rvletReque st is | |
| 15 | * specifi ed, it wil l set the request de tails such as sessio n id, remo te ip | |
| 16 | * address in a auth entication token. To do login and logout from the UI | |
| 17 | * applica tion, use the method s that has HttpServl etRequest paramter, do | |
| 18 | * add/rem ove attrib utes requi red by the Acegi Sec urity. | |
| 19 | * | |
| 20 | * @author D NS
|
|
| 21 | * @date M ay 6, 2005 | |
| 22 | */ | |
| 23 | public int erface Log inManager { | |
| 24 | /* * | |
| 25 | * Perform t he login g iven the H ttpServlet Request, u sername an d password . | |
| 26 | * | |
| 27 | * @param re quest | |
| 28 | * @param us erCredenta il | |
| 29 | * @throws I llegalArgu mentExcept ion | |
| 30 | * if user name or pa ssword is null. | |
| 31 | * @throws L oginExcept ion | |
| 32 | * if auth entication fails. | |
| 33 | * / | |
| 34 | pu blic void login(Http ServletReq uest reque st, UserCr edentials userCreden tail, | |
| 35 | TimeZo ne current TimeZone) throws Log inExceptio n; | |
| 36 | ||
| 37 | /* * | |
| 38 | * Perform t he login g iven the H ttpServlet Request, u sername an d password . | |
| 39 | * | |
| 40 | * @param re quest | |
| 41 | * @param us erCredenta il | |
| 42 | * @throws I llegalArgu mentExcept ion | |
| 43 | * if user name or pa ssword is null. | |
| 44 | * @throws L oginExcept ion | |
| 45 | * if auth entication fails. | |
| 46 | * / | |
| 47 | pu blic void login(Http ServletReq uest reque st, UserCr edentials userCreden tail) | |
| 48 | throws LoginExce ption; | |
| 49 | ||
| 50 | /* * | |
| 51 | * Login usi ng usernam e and pass word. This call is s ame as cal ling | |
| 52 | * login(nul l, usernam e, passwor d). | |
| 53 | * | |
| 54 | * @param us erCredenta il | |
| 55 | * - user c redentails | |
| 56 | * @throws I llegalArgu mentExcept ion | |
| 57 | * if user name or pa ssword is null. | |
| 58 | * @throws L oginExcept ion | |
| 59 | * if auth entication fails. | |
| 60 | * / | |
| 61 | pu blic void login(User Credential s userCred entail) th rows Login Exception; | |
| 62 | ||
| 63 | pu blic void login(User Credential s userCred entail, Ti meZone cur rentTimeZo ne) | |
| 64 | throws LoginExce ption; | |
| 65 | ||
| 66 | /* * | |
| 67 | * Anonymous ly login t he user. T hrows | |
| 68 | * <code>jav a.lang.Ill egalStateE xception</ code> if a nonymous l ogin is no t | |
| 69 | * enabled/a llowed. | |
| 70 | * | |
| 71 | * @throws I llegalStat eException | |
| 72 | * if anon ymous logi n is not a llowed. | |
| 73 | * / | |
| 74 | pu blic void loginAnony mous(); | |
| 75 | ||
| 76 | /* * | |
| 77 | * Anonymous ly login t he user. T hrows | |
| 78 | * <code>jav a.lang.Ill egalStateE xception</ code> if a nonymous l ogin is no t | |
| 79 | * enabled/a llowed. | |
| 80 | * | |
| 81 | * @param lo gicalID | |
| 82 | * Logical id to use for this a nonymous u ser | |
| 83 | * @throws I llegalStat eException | |
| 84 | * if anon ymous logi n is not a llowed. | |
| 85 | * / | |
| 86 | pu blic void loginAnony mous(Strin g logicalI D); | |
| 87 | ||
| 88 | pu blic void loginAnony mous(Strin g logicalI D, TimeZon e currentT imeZone); | |
| 89 | ||
| 90 | /* * | |
| 91 | * Logout us er by remo ving the A uthenticat ion inform ation from Context. | |
| 92 | * / | |
| 93 | pu blic void logout(); | |
| 94 | ||
| 95 | /* * | |
| 96 | * Logout us er by remo ve the Aut henticatio n informat ion from C ontext as well | |
| 97 | * as remove the Acegi specific key from t he Session . | |
| 98 | * | |
| 99 | * @param re quest | |
| 100 | * / | |
| 101 | pu blic void logout(Htt pServletRe quest requ est); | |
| 102 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.