- Timestamp:
- 03/18/19 14:42:31 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/Authenticator.java
r1253 r1254 14 14 import java.security.KeyStoreException; 15 15 import java.security.NoSuchAlgorithmException; 16 import java.security.NoSuchProviderException;17 16 import java.security.PublicKey; 18 17 import java.security.SecureRandom; … … 69 68 public static boolean Authenticated = false; 70 69 71 private KeyStore keyStore ;//KeyStore.getInstance(KeystoreType);70 private KeyStore keyStore = KeyStore.getInstance(KeystoreType); 72 71 73 72 private static final byte[] TRUE = "yes".getBytes(); … … 82 81 } 83 82 84 private Authenticator() throws KeyStoreException, FileNotFoundException, IOException, NoSuchAlgorithmException, CertificateException, ClassNotFoundException, SQLException { 85 try { 86 keyStore = KeyStore.getInstance(KeystoreType, "SunJSSE"); 87 } catch (NoSuchProviderException e) { 88 e.printStackTrace(); 89 return; 90 } 91 83 private Authenticator() throws KeyStoreException, FileNotFoundException, IOException, NoSuchAlgorithmException, CertificateException, ClassNotFoundException, SQLException { 92 84 UserSettings.setupDefaultFolders(); 93 85
Note:
See TracChangeset
for help on using the changeset viewer.