diff options
author | Oleg Besedin | 2008-03-14 14:45:33 +0000 |
---|---|---|
committer | Oleg Besedin | 2008-03-14 14:45:33 +0000 |
commit | fd6da0c9ab73dfca72e89eb6eae1c91e350e3fa5 (patch) | |
tree | c82496b9edf980f53b44207c82e2af98c182265c /bundles/org.eclipse.equinox.security.win32.x86 | |
parent | f0a5fb1253575250ea4b43a2cc549fd2d8f5d43c (diff) | |
download | rt.equinox.bundles-fd6da0c9ab73dfca72e89eb6eae1c91e350e3fa5.tar.gz rt.equinox.bundles-fd6da0c9ab73dfca72e89eb6eae1c91e350e3fa5.tar.xz rt.equinox.bundles-fd6da0c9ab73dfca72e89eb6eae1c91e350e3fa5.zip |
Diffstat (limited to 'bundles/org.eclipse.equinox.security.win32.x86')
-rw-r--r-- | bundles/org.eclipse.equinox.security.win32.x86/src/org/eclipse/equinox/internal/security/win32/WinCrypto.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.security.win32.x86/src/org/eclipse/equinox/internal/security/win32/WinCrypto.java b/bundles/org.eclipse.equinox.security.win32.x86/src/org/eclipse/equinox/internal/security/win32/WinCrypto.java index 724fe80c2..bc8811e2a 100644 --- a/bundles/org.eclipse.equinox.security.win32.x86/src/org/eclipse/equinox/internal/security/win32/WinCrypto.java +++ b/bundles/org.eclipse.equinox.security.win32.x86/src/org/eclipse/equinox/internal/security/win32/WinCrypto.java @@ -47,7 +47,7 @@ public class WinCrypto extends PasswordProvider { */ private final static int PASSWORD_LENGTH = 250; - public PBEKeySpec login(IPreferencesContainer container) { + public PBEKeySpec getPassword(IPreferencesContainer container, int passwordType) { byte[] encryptedPassord = getEncryptedPassword(container); if (encryptedPassord != null) { byte[] decryptedPassword = windecrypt(encryptedPassord); @@ -128,7 +128,7 @@ public class WinCrypto extends PasswordProvider { return true; } - public boolean changePassword(Exception e, IPreferencesContainer container) { + public boolean retryOnError(Exception e, IPreferencesContainer container) { // It would be rather dangerous to allow this password to be changed // as it would permanently trash all entries in the secure storage. // Rather applications using get...() should handle exceptions and offer to overwrite @@ -136,8 +136,4 @@ public class WinCrypto extends PasswordProvider { return false; } - public void logout(IPreferencesContainer container) { - // nothing to do - } - } |