I'm writing a small program (a twitter client) in Java, aimed at Mac OS X. As part of its functionality, it needs to have a place to store the twitter username/password. The natural place would be the mac keychain, but I can't find any way of accessing it.
Is there any way of accessing the mac keychain from Java, or failing that, what is your recommendation for where to store the username/password instead?