Commit Graph

1494 Commits

Author SHA1 Message Date
Benjamin Dauvergne e0bbc3ffdd idp/saml/saml2_endpoints: remove method name from log messages
It hurts navigation inside source code and it can be easily recovered
through logging format template.
2013-11-14 15:54:09 +01:00
Benjamin Dauvergne 9fd07b0a56 AUTHORS: update 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne f3ce3592a4 idp/saml: add an urls.py file to conform to standard practices 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne fe571d5d9a idp,attribute_aggregator: move AttributeItem and AttributeList into attribute_aggregator 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne dba00e3cbe attribute_aggregator/models: simplify imports 2013-11-14 15:54:09 +01:00
Benjamin Dauvergne 0296103043 idp: remove unused import 2013-11-14 15:54:08 +01:00
Benjamin Dauvergne 2ba554ced3 idp: remove unused UserConsentAttributes model 2013-11-14 15:54:08 +01:00
Benjamin Dauvergne 01b7607334 compat: add variable use_attribute_aggregator to see if attribute_aggregator is being used 2013-11-13 18:53:50 +01:00
Benjamin Dauvergne f1775cc0e1 adapt recent migration scripts for support of custom user models 2013-11-13 16:57:47 +01:00
Benjamin Dauvergne 9552399fa1 idp,saml: remove explicite import betwen models modules 2013-11-13 16:06:18 +01:00
Benjamin Dauvergne 7d48e73896 idp,attribute_aggregator: move a2.idp.attributes into the attribute_aggregator package
First step into making attribute aggregator optional.

lignes
2013-11-13 09:58:51 +01:00
Benjamin Dauvergne de0e91e3a4 app_settings: add A2_HOMEPAGE_URL to add a no-homepage mode to authentic2 (like shibboleth) 2013-11-13 01:18:52 +01:00
Benjamin Dauvergne b425870d29 settings: use /dev/log as address of the syslog daemon, as not every syslog daemon is listening on the UDP port (rsyslog for example) 2013-11-13 00:09:01 +01:00
Benjamin Dauvergne becee1cd9d settings: extract CACHE setting from environment 2013-11-13 00:08:58 +01:00
Benjamin Dauvergne 294b8b03c4 backends: after parsing json content, convert unicode string to byte strings 2013-11-13 00:08:03 +01:00
Benjamin Dauvergne c570425079 settings: set log level to DEBUG when DEBUG is True 2013-11-12 23:49:45 +01:00
Benjamin Dauvergne 121f7e2379 settings: set a default value for LDAP_AUTH_SETTINGS 2013-11-12 23:49:31 +01:00
Benjamin Dauvergne effae68a70 settings: add missing import for json 2013-11-12 23:49:11 +01:00
Benjamin Dauvergne 009b5c73ea models: add source and updated field to UserExternalId
The LDAPBackend is now using the source field to store the ldap server
URL.
2013-11-08 22:22:36 +01:00
Benjamin Dauvergne b9902d506e saml: add a new sp policy option, federation_mode
There will be two mode for now:
 - explicit where federation are persisted to the database
 - implicit where federation are deterministically generated
2013-11-08 18:36:15 +01:00
Benjamin Dauvergne 9d59094029 saml: add an app_settings module 2013-11-08 17:57:51 +01:00
Benjamin Dauvergne 1707f4848c idp/saml/saml2_endpoints: automatically convert password authentication context to password protected transport autn context when https is used 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne b558d396cd backends: support Active Directory, had mode where ldap users are not backed by a Django model user 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne c139cec14f update french translation 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne 8bb2e81520 template: change welcome string for authenticated users in base template 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne 8372083053 cache: new module for utility methods with cache
First function is get_shared_cache(), it returns an instance of a shared
if it can or raise ImproperlyConfigured.
2013-11-08 17:32:20 +01:00
Benjamin Dauvergne 842cd91598 settings: activate sentry logger based on the environment 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne 7070e2f7c9 settings: get LDAP settings from environment, activate LDAP backend when there are LDAP settings 2013-11-08 17:32:20 +01:00
Benjamin Dauvergne 18895d0a7a backends: add a bind_to_username option for LDAPBackend
When True it indicate to use the username directly for the bind, and not to
try first to lookup a DN with it.
2013-11-08 17:32:20 +01:00
Benjamin Dauvergne b99382f8c3 models: add UserExternalId to store external id linked to users 2013-11-08 17:32:19 +01:00
Benjamin Dauvergne 4f1731ebd6 settings: remove local file handler, add mail_admins and syslog as default 2013-11-08 17:32:19 +01:00
Thomas NOËL 316506887b fix default change password form (fix #3955) 2013-11-08 17:26:37 +01:00
Benjamin Dauvergne 599b55308e settings: allow more DATABASES keys to be set from environment 2013-11-04 09:51:11 +01:00
Benjamin Dauvergne 3288d94660 idp/saml/saml2_endpoints: log request content when receiving an invalid HTTP-Redirect request 2013-10-28 21:55:18 +01:00
Benjamin Dauvergne b4bac3d34b saml: update translation 2013-10-25 13:55:50 +02:00
Benjamin Dauvergne 282c502a36 saml/admin: add a create from URL action for liberty providers 2013-10-25 13:55:33 +02:00
Benjamin Dauvergne f03e4c8224 authsaml2/backends,saml2_endpoints: use the system random generator for more security 2013-10-18 10:10:08 +02:00
Benjamin Dauvergne c467352384 auth2_ssl: reorganize url conf 2013-10-11 21:47:30 +02:00
Benjamin Dauvergne f798e1e578 auth2_auth: fix wrong regexp in url conf 2013-10-11 21:47:30 +02:00
Frédéric Péters 6261a7ed04 translation fix 2013-10-08 11:57:58 +02:00
Benjamin Dauvergne 493c89eb6b auth2_oath: comletely remove this module, as it does not depend entirely on Entr'ouvert copyright
We will recreate it as an external plugin.
2013-10-02 18:04:39 +02:00
Mikaël Ates b67842207b Fix erroneous title and copyright in file headers. 2013-10-02 17:55:33 +02:00
Benjamin Dauvergne 12a5136da6 saml/templates: in post-form.html wrap the send button with the <noscript/> tag
fixes #3576
2013-09-24 18:59:00 +02:00
Benjamin Dauvergne 5f208237fd authsaml2: return from locallogout 2013-09-24 18:13:21 +02:00
Benjamin Dauvergne 098f57b293 authsaml2: all errors does not have an url attribute 2013-09-24 18:11:56 +02:00
Benjamin Dauvergne a7d3ec097f authsaml2: when using transient as persistent, also set nameQualifier 2013-09-24 18:06:01 +02:00
Benjamin Dauvergne 43caeab854 authsaml2: fix undefined identifier 2013-09-24 17:51:32 +02:00
Benjamin Dauvergne 429ad8c46d saml/sync-metadata: handle file with only one EntityDescriptor 2013-09-24 13:35:13 +02:00
Benjamin Dauvergne f3a4bdb1e7 saml/sync-metadata: setup the slug and name fields of newly created providers 2013-09-24 13:24:27 +02:00
Benjamin Dauvergne 635758fa3f saml/models: LibertyFederation.{sp,idp} fields can be blank 2013-09-12 19:29:12 +02:00