X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=blobdiff_plain;f=util_saml.h;h=eeb17e37a2b2eae6d18d3a2bb4efd2f24f03d4e8;hp=0a14d3e2ad1d1f6cef051cf70d6b928631ed687a;hb=f12a2be8e6409006eaf326c204ea5c99b78b3b2b;hpb=a350bfe3064c682eb4b9ee1d83e2f6620b37efda diff --git a/util_saml.h b/util_saml.h index 0a14d3e..eeb17e3 100644 --- a/util_saml.h +++ b/util_saml.h @@ -77,11 +77,11 @@ public: const char *prefix(void) const; const char *name(void) const { return NULL; } bool initWithJsonObject(const gss_eap_attr_ctx *manager GSSEAP_UNUSED, - json_t *object GSSEAP_UNUSED) { + JSONObject &object GSSEAP_UNUSED) { return false; } - json_t *jsonRepresentation(void) const { - return NULL; + JSONObject jsonRepresentation(void) const { + return JSONObject::null(); } opensaml::saml2::Assertion *initAssertion(void); @@ -140,11 +140,11 @@ public: return NULL; } bool initWithJsonObject(const gss_eap_attr_ctx *manager GSSEAP_UNUSED, - json_t *object GSSEAP_UNUSED) { + JSONObject &object GSSEAP_UNUSED) { return false; } - json_t *jsonRepresentation(void) const { - return NULL; + JSONObject jsonRepresentation(void) const { + return JSONObject::null(); } bool getAttribute(const gss_buffer_t attr,