views:

8

answers:

0

How should I store program settings and saved password in a desktop Java SE program.

Program uses jsch to connect to SSH and should manage passwords and keys.

How to do it portably, without implementing separate solutions per OS?

Is there a library which will, for example, store things at $HOME/.myapp on GNU/Linux, in registry or in user's "Documents and settings" on Windows, somewhere else (and passwords in keyring) on OS X?