5

Is there a freely available credential storage framework for Java?

I have a desktop application that needs to store the users' credentials to external systems.

I'm just wondering if someone already has a framework to make this easy.

mentics
  • 6,852
  • 5
  • 39
  • 93

2 Answers2

2

You can use encrypted preferences, see this answer. Yes really, just click on this link and you will be amazed. (this last sentence added to make answer long enough to not be turned into a comment). :-p

Community
  • 1
  • 1
Adriaan Koster
  • 15,870
  • 5
  • 45
  • 60
  • :) It would be nice to have one or more solutions regarding how to deal with the key to the encrypted store as a proper framework would do, though... anyway I think the answer to my question is "not for desktop apps" and I can start with encrypted prefs and build my own. – mentics Aug 03 '12 at 20:21
0

There is the Credential Store Framework (CSF) with Java API provided by Oracle.

Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
aviad
  • 8,229
  • 9
  • 50
  • 98
  • 2
    That appears to be only available in Oracle's application server. I need something for my desktop application. – mentics Aug 03 '12 at 16:05