• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Heimdal-323.92.1/lib/krb5/

Lines Matching +defs:match +defs:type

104  * Add a new ccache type with operations `ops', overwriting any
108 * @param ops type of plugin symbol
129 N_("cache type %s already exists", "type"),
279 N_("unknown ccache type %s", "name"), name);
285 * Generates a new unique ccache of `type` in `id'. If `type' is NULL,
286 * the library chooses the default credential cache type. The supplied
288 * type can use to base the name of the credential on, this is to make
297 krb5_cc_new_unique(krb5_context context, const char *type,
303 ops = krb5_cc_get_prefix_ops(context, type);
306 "Credential cache type %s is unknown", type);
336 * Return the type of the ccache `id'.
367 const char *type, *name;
371 type = krb5_cc_get_type(context, id);
372 if (type == NULL) {
374 "cache have no name of type");
381 "cache of type %s have no name", type);
385 if (asprintf(str, "%s:%s", type, name) == -1) {
458 * credcache type (and name for some implementations).
485 krb5_cc_support_switch(krb5_context context, const char *type)
489 ops = krb5_cc_get_prefix_ops(context, type);
576 "Credential cache type %s "
933 * Copy the contents of `from' to `to' if the given match function
939 * @param match a match function that should return TRUE if cred argument should be copied, if NULL, all credentials are copied.
940 * @param matchctx context passed to match function.
952 krb5_boolean (*match)(krb5_context, void *, const krb5_creds *),
979 if (match == NULL || (*match)(context, matchctx, &cred)) {
1088 * Start iterating over all caches of specified type. See also
1092 * @param type optional type to iterate over, if NULL, the default cache is used.
1103 const char *type,
1109 if (type == NULL)
1110 type = krb5_cc_default_name(context);
1112 ops = krb5_cc_get_prefix_ops(context, type);
1115 "Unknown type \"%s\" when iterating "
1116 "trying to iterate the credential caches", type);
1122 N_("Credential cache type %s doesn't support "
1123 "iterations over caches", "type"),
1224 krb5_boolean match;
1232 match = (strcmp(client->realm, principal->realm) == 0);
1234 match = krb5_principal_compare(context, principal, client);
1237 if (!match)
1477 * credentials caches independent of type.
1631 * can be limited to a specific cache type. If the function return 0
1635 * @param type The credential cache to probe, if NULL, all type are traversed.
1645 const char *type,
1661 if (type && strcmp(krb5_cc_get_type(context, id), type) != 0)
1871 "Credential cache type %s doesn't support uuid",
1879 krb5_cc_resolve_by_uuid(krb5_context context, const char *type,
1885 if (type) {
1886 ops = krb5_cc_get_prefix_ops(context, type);
1889 "Credential cache type %s is unknown", type);
1898 "Credential cache type %s doesn't support uuid",
1915 krb5_cc_set_acl(krb5_context context, krb5_ccache id, const char *type, void *ptr)
1918 return id->ops->set_acl(context, id, type, ptr);