From 3336aa8cea88dc0e91fe701218e7cb9232932bcc Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sun, 12 Sep 2010 16:58:11 +0200 Subject: [PATCH] some notes, cleanup --- mech_eap/util_saml.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/mech_eap/util_saml.cpp b/mech_eap/util_saml.cpp index dcd7ae3..68bc3be 100644 --- a/mech_eap/util_saml.cpp +++ b/mech_eap/util_saml.cpp @@ -135,7 +135,6 @@ private: struct eap_gss_saml_attr_ctx { ResolutionContext *resCtx; - gss_buffer_desc assertion; }; static OM_uint32 @@ -348,6 +347,9 @@ samlGetAttributeTypes(OM_uint32 *minor, return major; } +/* + * SAML implementation of gss_get_name_attribute + */ OM_uint32 samlGetAttribute(OM_uint32 *minor, const struct eap_gss_saml_attr_ctx *ctx, @@ -404,6 +406,9 @@ samlGetAttribute(OM_uint32 *minor, return GSS_S_COMPLETE; } +/* + * No plans to support gss_set_name_attribute at this time. + */ OM_uint32 samlSetAttribute(OM_uint32 *minor, struct eap_gss_saml_attr_ctx *ctx, @@ -414,6 +419,10 @@ samlSetAttribute(OM_uint32 *minor, return GSS_S_UNAVAILABLE; } +/* + * In order to implement gss_export_name and gss_export_sec_context, + * we need to serialise a resolved attribute context to a buffer. + */ OM_uint32 samlExportAttrContext(OM_uint32 *minor, struct eap_gss_saml_attr_ctx *ctx, @@ -422,6 +431,10 @@ samlExportAttrContext(OM_uint32 *minor, GSSEAP_NOT_IMPLEMENTED; } +/* + * In order to implement gss_import_name and gss_import_sec_context, + * we need to deserialise a resolved attribute context from a buffer. + */ OM_uint32 samlImportAttrContext(OM_uint32 *minor, gss_buffer_t buffer, -- 2.1.4