projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aedf56
)
persist RADIUS attr provider authentication status exported context
author
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 14:01:38 +0000
(
01:01
+1100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 14:01:38 +0000
(
01:01
+1100)
mech_eap/util_radius.cpp
patch
|
blob
|
history
diff --git
a/mech_eap/util_radius.cpp
b/mech_eap/util_radius.cpp
index
fe43135
..
1d5efab
100644
(file)
--- a/
mech_eap/util_radius.cpp
+++ b/
mech_eap/util_radius.cpp
@@
-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;
}