|
Re: Errors when storing passwords in secure storage [message #116655 is a reply to message #116619] |
Thu, 28 August 2008 15:45 |
Oleg Besedin Messages: 41 Registered: July 2009 |
Member |
|
|
Most likely this is caused by the VM configuration. I'd suggest the
following:
1) Find the VM that is picked up by the Eclipse instance ( Help -> About
Eclipse SDK -> Configuration details)
2) For that VM, was the java.security file modified (usually in the
jre\lib\security folder)? Especially check the list of the security
providers (security.provider.1, security.provider.2, and so on). If this
file was modified, try to revert back to the original and see if the error
persists.
3) If that does not help, is there anything else unusual about the VM setup?
I'd try to install a clean VM, check environment variables, and try to run
Eclipse with it to see if the error persists.
If the error still persists, please open a bug against Equinox / Security.
Please attach the full log and a copy of the "Configuration details" to it.
Thanks,
Oleg
"Jason " <jason.levine@softwareagusa.com> wrote in message
news:3618d3e02834fdde40cbf8bf375bcab4$1@www.eclipse.org...
> The first time we try to store credentials in a brand new installation of
> Eclipse with no existing storage file we get an exception:
>
> java.lang.NoClassDefFoundError
> at javax.crypto.SecretKeyFactory.getInstance(DashoA12275)
> at
> org.eclipse.equinox.internal.security.storage.JavaEncryption .internalEncrypt(JavaEncryption.java:137)
> at
> org.eclipse.equinox.internal.security.storage.JavaEncryption .encrypt(JavaEncryption.java:132)
> at
> org.eclipse.equinox.internal.security.storage.SecurePreferen cesRoot.getModulePassword(SecurePreferencesRoot.java:257)
> at
> org.eclipse.equinox.internal.security.storage.SecurePreferen cesRoot.getPassword(SecurePreferencesRoot.java:219)
>
> at
> org.eclipse.equinox.internal.security.storage.SecurePreferen ces.put(SecurePreferences.java:224)
>
> at
> org.eclipse.equinox.internal.security.storage.SecurePreferen cesWrapper.put(SecurePreferencesWrapper.java:110)
>
>
>
> The encryption algorithms dropdown on the Advanced tab is blank.
> If I simply open the secure storage file preference page and close it I
> can then successfully store credentials.
> I tried the same test with CVS and got a similar result. I did not get an
> exception but the password was not stored.
> In either case I was not prompted to supply a password for the secure
> storage.
> Any ideas on what might be wrong?
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03467 seconds