if (prefs.getBoolean(DefaultPreferences.USE_MASTER_PASSWORD))
useOSPasswordProvider = false;
/* Try storing credentials in profile folder */
try {
Activator activator = Activator.getDefault();
/* Check if Bundle is Stopped */
if (activator == null)
return null;
IPath stateLocation = activator.getStateLocation();
stateLocation = stateLocation.append(SECURE_STORAGE_FILE);
URL location = stateLocation.toFile().toURL();
Map<String, String> options = null;
/* Use OS dependent password provider if available */