|
Re: Secure Storage and Password Recovery [message #514216 is a reply to message #134554] |
Fri, 12 February 2010 20:57 |
Kim Winz Messages: 3 Registered: October 2009 Location: RTP, NC |
Junior Member |
|
|
It's been a while since this thread was started, so you probably moved on long ago. But I just had to figure out how to solve exactly the same problem. I thought I'd post my solution, in case it might be helpful to anybody else.
This isn't exposed as API, so I had to use a sort of backdoor tactic through internal packages (SecurePreferencesWrapper and SecurePreferencesContainer). I think it should be externalized, though, and hopefully it will be in the future.
ISecurePreferences basePrefs = SecurePreferencesFactory.open(myPrefsURL, null);
SecurePreferencesContainer prefsContainer = ((SecurePreferencesWrapper) basePrefs).getContainer();
prefsContainer.setOption(IProviderHints.PROMPT_USER, new Boolean(false));
Regards,
Kim Winz
ImageQuix Software Development
[Updated on: Wed, 17 February 2010 22:17] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03055 seconds