Bug 573950 - Secure storage provider compatibility break
- change the org.eclipse.equinox.security extension schema
to allow an optional "obsoletes" attribute to the provider
element to allow specifying an id that is being replaced by this
provider
- modify org.eclipse.equinox.security.linux fragment.xml to
note that linuxkeystoreintegrationjna obsoletes
org.eclipse.equinox.security.linuxkeystoreintegration provider
- modify PasswordProviderSelector.findAvailableModules() method
to look for "obsoletes" attribute if the id doesn't match the
specified non-null id
- add new passwordProvidersFind() method to InternalExchangeUtils to
allow testing of the "obsoletes" attribute
- add new ObsoletesTest test to AllSecurityTests
- avoid master password regenerate if secure store created
with obsolete module
- bump up versions appropriately
Change-Id: I89ca3252c96d1069617661d6081f04711cf3eabc
Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
Signed-off-by: Julien Dehaudt <julien.dehaudt@st.com>
Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.bundles/+/181421
Tested-by: Equinox Bot <equinox-bot@eclipse.org>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
15 files changed