gss_buffer_desc value = GSS_C_EMPTY_BUFFER;
int authenticated, complete;
OM_uint32 minor;
+ gss_eap_attrid attrid(VENDORPEC_UKERNA, PW_SAML_AAA_ASSERTION);
GSSEAP_ASSERT(m_assertion == NULL);
radius = static_cast<const gss_eap_radius_attr_provider *>
(m_manager->getProvider(ATTR_TYPE_RADIUS));
if (radius != NULL &&
- radius->getFragmentedAttribute(PW_SAML_AAA_ASSERTION,
- VENDORPEC_UKERNA,
- &authenticated, &complete, &value)) {
+ radius->getFragmentedAttribute(attrid, &authenticated, &complete, &value)) {
setAssertion(&value, authenticated);
gss_release_buffer(&minor, &value);
} else {
const char *
gss_eap_saml_assertion_provider::prefix(void) const
{
- return "urn:ietf:params:gss-eap:saml-aaa-assertion";
+ return "urn:ietf:params:gss:federated-saml-assertion";
}
bool
* Each attribute carried in the assertion SHOULD also be a GSS name
* attribute. The name of this attribute has three parts, all separated
* by an ASCII space character. The first part is
- * urn:ietf:params:gss-eap:saml-attr. The second part is the URI for
+ * urn:ietf:params:gss:federated-saml-attribute. The second part is the URI for
* the SAML attribute name format. The final part is the name of the
* SAML attribute. If the mechanism performs an additional attribute
* query, the retrieved attributes SHOULD be GSS-API name attributes
const char *
gss_eap_saml_attr_provider::prefix(void) const
{
- return "urn:ietf:params:gss-eap:saml-attr";
+ return "urn:ietf:params:gss:federated-saml-attribute";
}
bool