[Java-gnome-developer] Access to gnome keyring from java
Brought to you by:
afcowie
From: Johannes H. <han...@gm...> - 2008-07-01 15:17:19
|
Hey Everyone, at first thank you for reading this post. I have to write an Application which writes something to an LDAP Server. And if you wanna know, that works fine. But to connect to the LDAP Server we must specify a password. What I want to have is, that the gnome keyring manager saves the password for me and I only wanna connect to the keyring manager and get the pw outa it. Or the manager should autorize me to get the password. But how can I connect to the Keyring Mananger in my Java Application? I've downloaded the Libraries and added them into Netbeans, but I did not find an Class called like "KeyRingManger" or "KeyRingConnection". I think here are the methods I'd like to use http://library.gnome.org/devel/gnome-keyring/stable/ch01.html but how can I access them trough the java bindings? I've added these Libs gtk-4.0.jar gtk.jar glib0.4-0.4.2.jar glib0.4.jar gnome2.12-2.12.7.jar gnome2.12.jar Do you know how this works, and if you know could you send me a link to and tutorial or example or anything like that. Furthermore sorry for my bad english. Thx for helping me |