mark all Shib attributes as authenticated
authorLuke Howard <lukeh@padl.com>
Tue, 29 Mar 2011 15:51:08 +0000 (02:51 +1100)
committerLuke Howard <lukeh@padl.com>
Tue, 29 Mar 2011 15:51:08 +0000 (02:51 +1100)
mech_eap/util_shib.cpp

index 7ddd843..5086c0d 100644 (file)
@@ -183,7 +183,6 @@ gss_eap_shib_attr_provider::initFromGssContext(const gss_eap_attr_ctx *manager,
 
     if (saml != NULL && saml->getAssertion() != NULL) {
         resolver->addToken(saml->getAssertion());
-        m_authenticated = saml->authenticated();
     }
 
     try {
@@ -193,6 +192,7 @@ gss_eap_shib_attr_provider::initFromGssContext(const gss_eap_attr_ctx *manager,
     } catch (exception &e) {
     }
 
+    m_authenticated = true;
     m_initialized = true;
 
     return true;