aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-dbus.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-06-15 18:18:33 +0200
committerGuido Günther <agx@sigxcpu.org>2009-06-15 18:18:33 +0200
commit27053b1befc8380404f76c2c03c08eb3a7b0692d (patch)
tree10a748b4785cce56ed4b272844003611a489cc38 /src/krb5-auth-dbus.c
parentImported Upstream version 0.10 (diff)
downloadkrb5-auth-dialog-27053b1befc8380404f76c2c03c08eb3a7b0692d.tar.gz
krb5-auth-dialog-27053b1befc8380404f76c2c03c08eb3a7b0692d.tar.bz2
krb5-auth-dialog-27053b1befc8380404f76c2c03c08eb3a7b0692d.zip
Imported Upstream version 0.11
Diffstat (limited to 'src/krb5-auth-dbus.c')
-rw-r--r--src/krb5-auth-dbus.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/krb5-auth-dbus.c b/src/krb5-auth-dbus.c
index 52dab46..4fd7e74 100644
--- a/src/krb5-auth-dbus.c
+++ b/src/krb5-auth-dbus.c
@@ -32,12 +32,24 @@ gboolean
ka_dbus_acquire_tgt (KaApplet *applet,
const gchar *principal, DBusGMethodInvocation *context)
{
- gboolean success;
+ gboolean success;
- KA_DEBUG("Getting TGT for '%s'", principal);
- success = ka_check_credentials(applet, principal);
- dbus_g_method_return(context, success);
- return TRUE;
+ KA_DEBUG("Getting TGT for '%s'", principal);
+ success = ka_check_credentials(applet, principal);
+ dbus_g_method_return(context, success);
+ return TRUE;
+}
+
+
+gboolean
+ka_dbus_destroy_ccache(KaApplet* applet, DBusGMethodInvocation *context)
+{
+ gboolean success;
+
+ KA_DEBUG("Destroying ticket cache");
+ success = ka_destroy_ccache (applet);
+ dbus_g_method_return(context, success);
+ return TRUE;
}
bgstack15