- Timestamp:
- 11/29/19 15:08:35 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/AuthenticatorBrowser.java
r1440 r1453 81 81 82 82 private KeyStore keyStore = KeyStore.getInstance(KeystoreType); 83 public static String USER_NOBODY = " ${USER_NAME}";83 public static String USER_NOBODY = "nobody"; 84 84 85 85 private static final byte[] TRUE = "yes".getBytes(); … … 99 99 100 100 public static boolean isAuthenticated() { 101 return isAuthenticationRequired() && !UserSettings.UserName.get().equals(AuthenticatorBrowser.USER_NOBODY); 101 //return isAuthenticationRequired() && !UserSettings.UserName.get().equals(AuthenticatorBrowser.USER_NOBODY); 102 return isAuthenticationRequired() && !System.getProperty("user.name").equals(AuthenticatorBrowser.USER_NOBODY); 102 103 } 103 104
Note:
See TracChangeset
for help on using the changeset viewer.