java-keyring is a small library which provides java API to store password etc. securely. Currently Mac OS X, Windows and Linux (GNOME) are supported.
- Mac OS X
- Passwords are stored using [OS X Keychain](http://developer.apple.com/documentation/Security/
- Linux
- Passwords are stored using GNOME Keyring and a supporting data file that uses ObjectOutputStream etc.
- Windows
- Passwords are encrypted by Data Protection API and stored in a file using ObjectOutputStream etc.
If you find bug, please let me know via issue tracker or twitter @east301. In addition, any patch/modification is highly welcome.
java-keyring package contains the following directories
- java-keyring directory
- java-keyring library source code
- java-keyring-example directory
- usage example of java-keyring library
mvn clean install
Source code of java-keyring and java-keyring-example are available under modified BSD license. See the file LICENSE for more details.
java-keyring uses the following library, thanks a lot! java-keyring package contains copy of compiled JNA library. Source code of the library is available at its project page.