Benjamin Dauvergne
b1fe60b6d1
add the forgotten external module for PAM backend
2011-10-03 16:36:04 +02:00
Benjamin Dauvergne
5b3fa8a285
[saml2 idp] handle ElementTree attribute value as XML inline content to embed in a saml:AttributeValue tag
2011-10-03 16:21:15 +02:00
Benjamin Dauvergne
75c7c0161b
add pam authentication backend
2011-09-13 14:56:51 +02:00
Benjamin Dauvergne
83206efa55
add decorator to cache dynamically generated data inside a view function
...
It also add support for the ETag and Last-Modified headers.
2011-09-12 16:15:53 +02:00
Benjamin Dauvergne
f7fe8de441
[idp saml2] use smart_unicode to encode attribute values
2011-09-09 14:55:29 +02:00
Benjamin Dauvergne
6057e8105a
[saml] change format initial data fixture from YAML to JSON
2011-09-09 14:43:09 +02:00
Benjamin Dauvergne
6fc3bea517
fix typo in sync-metadata
2011-09-08 17:27:10 +02:00
Benjamin Dauvergne
dea777a0c5
[saml] initialize default and accepted NameID formats when loading metadata in bulk
2011-09-08 14:46:02 +02:00
Mikaël Ates
c373be9eca
[idp] Handle adding of attributes with a friendly name
2011-09-06 14:44:45 +02:00
Benjamin Dauvergne
3a2c6b370f
in add_user_profile_attributes handle SiteProfileNotAvailable as advised by django documentation
2011-09-05 16:36:56 +02:00
Benjamin Dauvergne
a9eb81ee46
Add a module to perform HTTP GET with proper certificate checks
...
Replace all usr of urllib.urlopen by this the new function get_url.
If M2Crypto is availlable, HTTPs URLs work, if not they do not.
Closes #70
2011-05-28 16:38:30 +02:00
Benjamin Dauvergne
eff4caf487
[authsaml2] show the service provider display name in the logout page
...
Also fix uneeded imports and replace start imports by explicit import.
2011-05-06 13:59:08 +02:00
Benjamin Dauvergne
401bd0cc39
[idp saml2] only set signature_verify_hint when a service provider is found
2011-05-06 13:58:52 +02:00
Benjamin Dauvergne
5c97abc68a
[saml common] add logging to metadata WKL handling
2011-05-06 12:26:39 +02:00
Benjamin Dauvergne
13e40dcd6b
[settings] do not filter ImportError not related to finding the local_settings module
2011-05-06 12:26:11 +02:00
Benjamin Dauvergne
48dc389030
Fix symbols imported from the wrong module
2011-05-02 15:16:57 +02:00
Benjamin Dauvergne
625a17c2cb
Add external dependency django-registration
...
authentic2 depends upon a non-released version of django-registration
(absent from pypi). We prefer to distribute it as a part of authentic2
for now.
2011-05-02 15:15:19 +02:00
Benjamin Dauvergne
1fd5a0c219
Update COPYING for external modules or derived from external module distributed with authentic2
2011-05-02 11:36:54 +02:00
Benjamin Dauvergne
63f5b675f5
[idp] remove unused imports, remove * imports, remove long lines
2011-04-27 11:49:21 +02:00
Benjamin Dauvergne
4314565ee6
[saml] remove unused imports, remove * imports
2011-04-27 11:48:32 +02:00
Benjamin Dauvergne
35d50069c1
[idp] remove unused imports, remove * imports, remove long lines
2011-04-27 11:34:25 +02:00
Benjamin Dauvergne
77ffa41f41
[idp views] remove unused imports
2011-04-27 10:56:44 +02:00
Benjamin Dauvergne
5b76c486f4
[README] add django dependency, add dependencies needed versions
2011-04-26 17:11:26 +02:00
Benjamin Dauvergne
31aab90332
[saml admin] add an updata_metadata command on LibertyProvider object
...
It allows to update many LibertyProvider metadata from the
administration panel using the well-known location hint (entity_id ==
URL of the metadata file).
It lacks any certificate checking if the URL is an HTTPs one.
2011-04-26 17:05:16 +02:00
Benjamin Dauvergne
9367e376df
[settings] use Django 1.3 way to setup loggers
...
Django 1.3 now support a simple LOGGING setting key which contain a
logging dictConfig (see
http://docs.python.org/library/logging.config.html ).
2011-04-26 17:01:27 +02:00
Benjamin Dauvergne
53757c9157
Adapt to 1.3 signature for fields methods
2011-04-26 16:13:04 +02:00
Benjamin Dauvergne
207a9b8320
[setup] fix setup.py after running pylint
2011-04-21 11:39:34 +02:00
Benjamin Dauvergne
2f7a446ab4
[idp.saml2] handle the 'cancel' return from login pages by return RequestDenied
...
If the user cancel the login process, a RequestDenied status code is
returned in a SAML2 response.
2011-04-21 11:38:20 +02:00
Mikaël Ates
bb89acd2b3
Switch to AGPL3.
2011-04-08 12:20:43 +02:00
Benjamin Dauvergne
c95c3ddfb1
[settings] add SIGNATURE to the key name for SAML public and private key settings
...
The presence of the SIGNATURE word in the key name will prevent the
private key to be shown in the debug pages. It prevents the accidental
publishing of your private key on the web.
2011-03-30 12:36:54 +02:00
Mikaël Ates
2a68b7ac2c
[authsaml2] Add a debug log
2011-03-22 15:33:28 +01:00
Mikaël Ates
839e9822f6
[authsaml2] Missing debug log
2011-03-22 15:17:55 +01:00
Mikaël Ates
07f46aabd2
[authsaml2] Add setting option to display message
2011-03-22 08:52:11 +01:00
Benjamin Dauvergne
231931dab7
[idp] remove initial_data fixture
2011-03-18 14:12:43 +01:00
Benjamin Dauvergne
35d5bd3bd3
[idp saml2] set signature verify hint from the service provider policy setting
2011-03-18 14:12:43 +01:00
Benjamin Dauvergne
f1b0ad5187
[saml] add a policy model for liberty service providers
...
Contains also a fixture setting an initial Default and Shibboleth SP
policy.
2011-03-18 14:12:43 +01:00
Mikaël Ates
c9aa26a988
[Registration] Display success page after registration
2011-03-11 09:43:04 +01:00
Mikaël Ates
5aa99208c2
[idp] Backend not recognized by registration app when upgrading to django1.2.5
2011-03-10 23:53:24 +01:00
Benjamin Dauvergne
5b58e722f3
[saml] move redirect_next into saml.common
2011-03-04 12:39:14 +01:00
Benjamin Dauvergne
3a5b6690a1
[authsaml2] use iso8601_to_datetime to parse notBefore value
2011-03-03 20:10:06 +01:00
Benjamin Dauvergne
faff81d1e4
[authsaml2] fix NameError in errorpage call
2011-03-03 19:53:13 +01:00
Benjamin Dauvergne
e2e773615f
Release 1.9.1
2011-03-03 18:14:14 +01:00
Benjamin Dauvergne
f8c0491fab
[idp] add a default attribute provider using the user profile
2011-03-03 18:14:14 +01:00
Benjamin Dauvergne
7c8fd104b6
[saml] remove authorization and attribute callback test implementations
2011-03-03 18:14:14 +01:00
Benjamin Dauvergne
ee76fa74fc
[saml] fix retrieve_metedata_and_create, implement missing IdentityProvider initialization
2011-03-03 17:27:56 +01:00
Benjamin Dauvergne
00fd22261f
[authsaml2] allow autoloading of identity providers in the POST assertion consumer
2011-03-03 17:27:56 +01:00
Benjamin Dauvergne
6b044a6674
[authsaml2] import missing symbol redirect_next()
2011-03-03 17:27:56 +01:00
Benjamin Dauvergne
cbf4a0b99a
[saml] in load_provider() call full_clean() no just clean()
...
full_clean() checks also all the fields individually.
2011-03-03 17:27:56 +01:00
Benjamin Dauvergne
13ece9c2b9
[saml] LibertyProvider: metadata validity is already checked in clean_fields()
2011-03-03 17:27:56 +01:00
Benjamin Dauvergne
05d8a6fcfa
[saml] do not import datetime.datetime
2011-03-03 17:27:56 +01:00