Commit Graph

1494 Commits

Author SHA1 Message Date
Mikaël Ates 7f59a5d916 auth_openid: Add a backlink on association management page. 2013-11-27 11:51:34 +01:00
Mikaël Ates 99b7a35b8d idp_openid: manage openid services with backend, do not use federation processor anymore. 2013-11-27 11:44:22 +01:00
Mikaël Ates 0e38d2a144 idp_openid: add links with RPs in context, allow to unlink from profile page. 2013-11-26 18:09:28 +01:00
Benjamin Dauvergne 9367c0bace attribute_aggregator/user_profile: link displayName ldap attribute to the get_full_name() accessor of user models 2013-11-26 09:48:48 +01:00
Benjamin Dauvergne 2b0ef8ea8a idp/saml/saml2_endpoints: compute attributes nearer to their point of use 2013-11-22 10:47:24 +01:00
Benjamin Dauvergne 33fb91212e idp/openid: normalize urls.py regexp 2013-11-22 10:46:54 +01:00
Benjamin Dauvergne 4ec03ede88 idp/saml: do not log unkown provider message at the error level, it's just a warning
fixes #3990
2013-11-22 00:13:11 +01:00
Benjamin Dauvergne 274e76ff92 saml: pass missing context variable redir_timeout to the error template
fixes #3989
2013-11-22 00:00:59 +01:00
Benjamin Dauvergne fca1624bef saml: raise a validation error if lasso cannot parse the metadatas 2013-11-21 17:49:39 +01:00
Benjamin Dauvergne 5cca9a088d attribute_aggregator/user_profile: use operator.attrgetter to allows lookup for user profile sub-fields 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne aa1bc9be16 attribute_aggregator: do not limit profile fields lookup look for all which have a definition declared 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne 9a31a97a85 attribute_aggregator/user_profile: remove method name from log messages 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne 1c4f73992e attribute_aggregator/user_profile: profile fields can match many definitions now 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne 8d7d8ed658 attribute_aggregator: create an index of definitions by profile field 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne eee4ac93d0 attribute_aggregator: last migration depend on the last migration in idp 2013-11-19 15:17:55 +01:00
Benjamin Dauvergne 647f1e2c8d idp: fix migration 0011, it should send signal to new create new content types for the attribute aggregator application 2013-11-19 15:17:55 +01:00
Mikaël Ates b0677bd2d1 Add OpenID IdP urls in not_hompage_patterns. 2013-11-18 16:41:38 +01:00
Mikaël Ates 7c439d214d saml: fix deprecated import. 2013-11-18 16:41:38 +01:00
Benjamin Dauvergne 4990045eab settings: set SENTRY_DSN default value to None 2013-11-18 14:55:42 +01:00
Mikaël Ates db9a5ea053 idp_openid, auth2_openid: the syntax of 'url' changed in Django 1.5. 2013-11-18 14:47:07 +01:00
Benjamin Dauvergne 6e2799cd00 attribute_aggregator/mapping: mail is the standard LDAP attribute for mail not email
Both are now mapped to the email field of the user profile.
2013-11-18 13:07:21 +01:00
Benjamin Dauvergne 3f21c28913 settings: configure loggers after loading the local_settings file 2013-11-18 13:07:07 +01:00
Benjamin Dauvergne 0feff31736 saml/forms: remove debugging statements 2013-11-18 13:05:33 +01:00
Benjamin Dauvergne 93e54829ff dashboard: fix paths to AttributeList and AttributeItem models 2013-11-18 13:04:49 +01:00
Benjamin Dauvergne f1fd43ac82 backends: if ldap credentials are absent, just continue 2013-11-18 13:04:49 +01:00
Benjamin Dauvergne e4e6eebc68 attribute_aggregator: only load the LDAP source if activated
The old way broke working authentic installation if the ldap module is
installed later.
2013-11-18 13:04:49 +01:00
Benjamin Dauvergne 6b5faedfca dashboard: show all django.contrib.auth models im the "Users and groups" block 2013-11-18 13:04:49 +01:00
Benjamin Dauvergne 2ade14093a idp/saml/saml2_endpoints: fix call to backend.get_saml2_authn_context 2013-11-18 13:04:49 +01:00
Mikaël Ates cb2b825afb idp/idp_openid: Allow restriction of openid RPs. 2013-11-18 09:02:56 +01:00
Mikaël Ates 4fc119e272 idp/idp_openid: fix bad function parameter. 2013-11-15 18:43:43 +01:00
Mikaël Ates 090a019d48 idp/idp_openid: add missing import of settings. 2013-11-15 18:43:12 +01:00
Benjamin Dauvergne 70f00c05c6 idp/saml/saml2_endpoints: fix undefined orm query in sso_after_process_request 2013-11-15 14:33:42 +01:00
Benjamin Dauvergne f3cf5f8622 idp/saml: catch precise exceptions 2013-11-15 14:21:43 +01:00
Benjamin Dauvergne 7811dcfa81 attribute_aggregator: add empty migration to inform south that AttributeList and AttributeItem are now part of attribute_aggregator 2013-11-15 14:20:25 +01:00
Benjamin Dauvergne f08d8d2123 idp: add migratoin to migrate table for AttributeList and AttributeItem to the attribute aggregator 2013-11-15 14:17:32 +01:00
Benjamin Dauvergne 0df455b449 idp/saml: only catch DoesNotExist exception in need_consent_for_federation 2013-11-14 19:44:44 +01:00
Benjamin Dauvergne 3165fab2f4 idp/saml: reduce log level for destination error to warning 2013-11-14 19:43:13 +01:00
Benjamin Dauvergne 083975dde5 idp/saml: removed unimplemented and unused functions 2013-11-14 19:35:58 +01:00
Benjamin Dauvergne b777abba5d auth2_auth: remove unused signals 2013-11-14 19:32:53 +01:00
Benjamin Dauvergne e5ee53dc4f idp/saml: remove catchall except
Only identified exceptions should be catched inside application code.
2013-11-14 18:48:50 +01:00
Benjamin Dauvergne 0b919863b2 idp/saml: does not log user.username as the field could not be present 2013-11-14 18:47:54 +01:00
Benjamin Dauvergne d0b026efa2 saml: do not directly access user.username as the field could not be there 2013-11-14 18:47:13 +01:00
Benjamin Dauvergne 37700f14da auth2_auth/backends: truncate username before saving it in the AuthenticationEvent 2013-11-14 18:16:41 +01:00
Benjamin Dauvergne f62137a5c5 auth2_auth/views: remove unused form WithNonceAuthenticationForm 2013-11-14 18:04:08 +01:00
Benjamin Dauvergne 462a8b48b8 auth2_auth/backend: adapt default login form to custom user models 2013-11-14 18:01:07 +01:00
Benjamin Dauvergne 26e7fa4d16 backends: add an USERNAME_FIELD to LDAPUser 2013-11-14 18:00:54 +01:00
Benjamin Dauvergne 556da3135d idp: fix migrations 0004
Field forward_attributes_from_push_sources was wrongly removed in commit
e4fe774.

fixes #3831
2013-11-14 16:11:23 +01:00
Benjamin Dauvergne c0cf59586a dashboard: remove feed block from dashboard, as it forces an HTTP get to an Entr'ouvert server 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne 0cf207253a backends: fix undefined variable errors 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne c1cb0e155f attribute_aggregator: add a simple source, which just call a method on the user model if it can 2013-11-14 15:54:09 +01:00