Hi Oleg,
I confused the extension id with the class name. I'm using the 3.4 release of the delta pack. The fragment.xml declares:

extension id="WindowsPasswordProvider"

which should be OK since the comparison that is made when finding it is case insensitive.

Now I'm starting to wonder, could this be caused by the optional dependency on org.eclipse.swt? This bundle is deliberately omitted from my setup. I found this piece of code:

try {
   if (!WinCryptoUI.canRecreatePassword())
       return null;
} catch (NoClassDefFoundError exception) {
   return null;
}

and that makes me wonder. Does this really work? Isn't there a fair chance that the JVM will attempt to resolve the class before it enters the try/catch? I wouldn't be surprised if the optimizer, while doing first pass rudimentary inlining, in fact attempts to resolve this class too early and thus fails. Has this been thoroughly tested without swt present?

Regards,
Thomas Hallgren


Oleg Besedin wrote:

Hi Thomas,
You are on the right path; the "org.eclipse.equinox.security.win32.x86" fragment provides "WindowsPasswordProvider". Did you by chance get an old version of the fragment from the incubator?

The up-to-date graduated version is in the ":pserver:[EMAIL PROTECTED]:/cvsroot/eclipse" repository under Head/org.eclipse.equinox/security/bundles.

As a side note, we need to discuss during the Equinox meeting if it is better to remove old bundles that have been graduated from the repository (less confusion) or keep them (more history).

Thanks,
Oleg Besedin



*Thomas Hallgren <[EMAIL PROTECTED]>*
Sent by: [EMAIL PROTECTED]

07/03/2008 05:17 AM
Please respond to
Equinox development mailing list <equinox-dev@eclipse.org>


        
To
        Equinox development mailing list <equinox-dev@eclipse.org>
cc
        
Subject
[equinox-dev] The org.eclipse.equinox.security.secureStorage extension point



        





When running headlessly I get an exception with the following message:

"Unable to locate secure storage module
(org.eclipse.equinox.security.windowspasswordprovider)"

First I thought that I'd forgotten to include the fragment
org.eclipse.equinox.security.win32.x86 but when I look more closely I
see that this fragment only adds a module with the id
"org.eclipse.equinox.internal.security.win32.WinCrypto"

So what bundle is it that defines the module with id
"org.eclipse.equinox.security.windowspasswordprovider" ?

Regards,
Thomas Hallgren


_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

------------------------------------------------------------------------

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to