diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2005-01-08 13:53:42 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2005-01-08 13:53:42 +0000 |
| commit | 1507aff943e0907f71413b0dffdd6538fa57f2fc (patch) | |
| tree | c85d54bad0127ff09a4163c6b9702e6d2cbe560f | |
| parent | d433c26a2dd4d89e2f1f709a65d9fbf2b6956737 (diff) | |
| download | lasso-1507aff943e0907f71413b0dffdd6538fa57f2fc.tar.gz lasso-1507aff943e0907f71413b0dffdd6538fa57f2fc.tar.xz lasso-1507aff943e0907f71413b0dffdd6538fa57f2fc.zip | |
check for identity in build_assertion
| -rw-r--r-- | lasso/id-ff/login.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index 75c0f486..9fd986a1 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -82,6 +82,9 @@ lasso_login_build_assertion(LassoLogin *login, profile = LASSO_PROFILE(login); + if (profile->identity == NULL) + return LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND; + federation = g_hash_table_lookup(profile->identity->federations, profile->remote_providerID); |
