[Authentication] CreateCollection creates two collections
Michael Albinus
michael.albinus at gmx.de
Mon Dec 28 06:22:08 PST 2009
Hi,
when I apply "org.freedesktop.Secret.Service.CreateCollection", it
results in two object paths for my collection. Is this intended?
Here is an example session (shortened):
# List available collections
method call sender=:1.122 -> dest=org.freedesktop.secrets serial=544 path=/org/freedesktop/secrets; interface=org.freedesktop.DBus.Properties; member=Get
string "org.freedesktop.Secret.Service"
string "Collections"
method return sender=:1.128 -> dest=:1.122 reply_serial=544
variant array [
object path "/org/freedesktop/secrets/collection/login"
object path "/org/freedesktop/secrets/collection/session"
object path "/org/freedesktop/secrets/collection/default"
]
# Create collection "MyCollection"
method call sender=:1.122 -> dest=org.freedesktop.secrets serial=548 path=/org/freedesktop/secrets; interface=org.freedesktop.Secret.Service; member=CreateCollection
array [
dict entry(
string "Label"
variant string "MyCollection"
)
]
method return sender=:1.128 -> dest=:1.122 reply_serial=548
object path "/"
object path "/org/freedesktop/secrets/prompt/p9"
# Handle prompt
method call sender=:1.122 -> dest=org.freedesktop.secrets serial=551 path=/org/freedesktop/secrets/prompt/p9; interface=org.freedesktop.Secret.Prompt; member=Prompt
string "62914754"
method return sender=:1.128 -> dest=:1.122 reply_serial=551
signal sender=:1.128 -> dest=:1.122 serial=362 path=/org/freedesktop/secrets/prompt/p9; interface=org.freedesktop.Secret.Prompt; member=Completed
boolean false
variant object path "/org/freedesktop/secrets/collection/mycollection"
# List available collections, again
method call sender=:1.122 -> dest=org.freedesktop.secrets serial=553 path=/org/freedesktop/secrets; interface=org.freedesktop.DBus.Properties; member=Get
string "org.freedesktop.Secret.Service"
string "Collections"
method return sender=:1.128 -> dest=:1.122 reply_serial=553
variant array [
object path "/org/freedesktop/secrets/collection/mycollection"
object path "/org/freedesktop/secrets/collection/login"
object path "/org/freedesktop/secrets/collection/session"
object path "/org/freedesktop/secrets/collection/mycollection_5f1"
object path "/org/freedesktop/secrets/collection/default"
]
More information about the Authentication
mailing list