Add bindings for LibSecret #285

Merged
jwharm merged 3 commits from libsecret into main 2025-10-25 12:27:50 +02:00
jwharm commented 2025-10-25 12:27:40 +02:00 (Migrated from github.com)

Add bindings for LibSecret to Java-GI.

The bindings will be published as a separate module named org.java-gi.secret, the module and package name is org.gnome.secret.

I had to rename the getFlags() method in the Service, Collection and Item classes because they override DBusProxy.getFlags() with another return type, and that isn't supported in Java:

Original API Java-GI
Service.getFlags() Service.getServiceFlags()
Collection.getFlags() Collection.getCollectionFlags()
Item.getFlags() Item.getItemFlags()

Fixes #283

Add bindings for [LibSecret](https://gitlab.gnome.org/GNOME/libsecret) to Java-GI. The bindings will be published as a separate module named `org.java-gi.secret`, the module and package name is `org.gnome.secret`. I had to rename the `getFlags()` method in the Service, Collection and Item classes because they override `DBusProxy.getFlags()` with another return type, and that isn't supported in Java: | Original API | Java-GI | | --- | --- | | `Service.getFlags()` | `Service.getServiceFlags()` | | `Collection.getFlags()` | `Collection.getCollectionFlags()` | | `Item.getFlags()` | `Item.getItemFlags()` | Fixes #283
Sign in to join this conversation.
No description provided.