diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:13:55 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:13:55 +0000 |
| commit | fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9 (patch) | |
| tree | 22f7c4769cf64d513d022aeecabf68514d769e44 /lasso/id-ff/login.c | |
| parent | a3c4a339f2f90faeb1d755f292f6787aba5de764 (diff) | |
| download | lasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.tar.gz lasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.tar.xz lasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.zip | |
ID-FF&Core: Seal public field of LassoSession
* id-ff/session.h: seal public fields.
* id-ff/session.c, id-ff/sessionprivate.h: add accessors for reading
the is_dirty flag and counting store assertions.
* id-ff/logout.c, id-ff/login.c, saml-2.0/login.c, saml-2.0/logout.c,
saml-2.0/profile.c: use the new accessors.
* id-ff/profile.c: include the private header file, use the new
accessors, and remove unnecessary setting of is_dirty to FALSE (it
should be false at instanciation).
* utils.h: add a macro to access private content, prepare for using
G_TYPE_INSTANCE_GET_PRIVATE and the GObject infrastructure for
private structures eventually.
Diffstat (limited to 'lasso/id-ff/login.c')
| -rw-r--r-- | lasso/id-ff/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index 03e434ef..c679cd55 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -1696,7 +1696,7 @@ lasso_login_must_authenticate(LassoLogin *login) * particular assertions, one is enough */ matched = (profile->session != NULL && \ - g_hash_table_size(profile->session->assertions) > 0); + lasso_session_count_assertions(profile->session) > 0); } g_list_free(assertions); |
