diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2006-11-09 10:19:37 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2006-11-09 10:19:37 +0000 |
| commit | 0e135d2d1da35c15423d6dc56f579da0c168e307 (patch) | |
| tree | c9ab250774b7c6c4e0c3cd1cc582678f841e6fb3 | |
| parent | 2183c855a6bbbc845a1f77693fe85eb422709a9f (diff) | |
only compare saml1 assertion
| -rw-r--r-- | lasso/id-ff/login.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index 5a191fe9..7e5c1d00 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -1450,10 +1450,16 @@ lasso_login_must_authenticate(LassoLogin *login) for (t1 = class_refs; t1 && !matched; t1 = g_list_next(t1)) { class_ref = t1->data; for (t2 = assertions; t2 && !matched; t2 = g_list_next(t2)) { - LassoSamlAssertion *assertion = t2->data; + LassoSamlAssertion *assertion; LassoSamlAuthenticationStatement *as; char *method; + if (LASSO_IS_SAML_ASSERTION(t2->data) == FALSE) { + continue; + } + + assertion = t2->data; + as = LASSO_SAML_AUTHENTICATION_STATEMENT( assertion->AuthenticationStatement); method = as->AuthenticationMethod; |
