summaryrefslogtreecommitdiffstats
path: root/src/include/kim
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-10-02 17:38:36 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-10-02 17:38:36 +0000
commita9b51cea161acb118428631eb5a3828bb1f8047a (patch)
treedc94ace3783a9b0ba4211df601eb1d29b0b55703 /src/include/kim
parent347cfa63fa8d3097d540fa84146e020e06c9a91c (diff)
downloadkrb5-a9b51cea161acb118428631eb5a3828bb1f8047a.tar.gz
krb5-a9b51cea161acb118428631eb5a3828bb1f8047a.tar.xz
krb5-a9b51cea161acb118428631eb5a3828bb1f8047a.zip
Support for change password checkbox in enter and select
identity ui elements. ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20812 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/kim')
-rw-r--r--src/include/kim/kim_ui_plugin.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/include/kim/kim_ui_plugin.h b/src/include/kim/kim_ui_plugin.h
index a2058da83..a15aa419a 100644
--- a/src/include/kim/kim_ui_plugin.h
+++ b/src/include/kim/kim_ui_plugin.h
@@ -74,19 +74,27 @@ typedef struct kim_ui_plugin_ftable_v0 {
* This is typically called when the user selects a "new tickets"
* control or menu item from a ticket management utility.
* If this UI calls into KIM to get new credentials it may
- * call auth_prompt below. */
+ * call auth_prompt below.
+ * If out_change_password is set to TRUE, KIM will call change_password
+ * on the identity and then call enter_identity again, allowing you
+ * to have a change password option on your UI. */
kim_error (*enter_identity) (void *in_context,
kim_options io_options,
- kim_identity *out_identity);
+ kim_identity *out_identity,
+ kim_boolean *out_change_password);
/* Present UI to select which identity to use.
* This is typically called the first time an application tries to use
* Kerberos and is used to establish a hints preference for the application.
* If this UI calls into KIM to get new credentials it may
- * call auth_prompt below. */
+ * call auth_prompt below.
+ * If out_change_password is set to TRUE, KIM will call change_password
+ * on the identity and then call select_identity again, allowing you
+ * to have a change password option on your UI. */
kim_error (*select_identity) (void *in_context,
kim_selection_hints io_hints,
- kim_identity *out_identity);
+ kim_identity *out_identity,
+ kim_boolean *out_change_password);
/* Present UI to display authentication to the user */
/* If in_allow_save_reply is FALSE do not display UI to allow the user