persist RADIUS attr provider authentication status exported context
authorLuke Howard <lukeh@padl.com>
Tue, 29 Mar 2011 14:01:38 +0000 (01:01 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 29 Mar 2011 14:01:38 +0000 (01:01 +1100)
mech_eap/util_radius.cpp

index fe43135..1d5efab 100644 (file)
@@ -754,6 +754,8 @@ gss_eap_radius_attr_provider::initWithJsonObject(const gss_eap_attr_ctx *ctx,
         pNext = &vp->next;
     }
 
+    m_authenticated = obj["authenticated"].integer();
+
     return true;
 }
 
@@ -775,6 +777,8 @@ gss_eap_radius_attr_provider::jsonRepresentation(void) const
 
     obj.set("attributes", attrs);
 
+    obj.set("authenticated", m_authenticated);
+
     return obj;
 }