Commit Graph

5658 Commits

Author SHA1 Message Date
BAUDINET Bertrand eb60729c53 [openid-provider] Reject no-encryption association sessions over http
- Reject no-encryption association sessions over http, to avoid eavesdropper
and to meet the point 8.4.1 of the specification of OpenID 2.0
2010-07-16 14:06:12 +02:00
BAUDINET Bertrand 78f548a6c2 [authopenid] Fix a KeyError which can appear during a openid log in
- Fix an error which appear when openid.identity is not in the request
during a log in with openid
2010-07-16 13:57:37 +02:00
BAUDINET Bertrand caa8519e62 [authopenid] Fix CSRF error
- Fix CSRF error by adding a decorator
2010-07-16 13:50:47 +02:00
BAUDINET Bertrand b3aeefaebe [openid-provider] Use the css with the templates
-  Change the return, to use render_to_response instead of
HttpResponse
2010-07-13 17:45:23 +02:00
BAUDINET Bertrand fa50033e2a [openid-provider] Fix a template error and improve some template
- Fix a template error by adding the template error.html and
adding a new path to find some template
- Improve templates to show the openid urls
2010-07-13 14:53:50 +02:00
BAUDINET Bertrand 8986f2dff7 [openid-provider] Adding a page to manage trustroot
Adding a template and a url to allow the user to manage his
trustedroot for his different identities
2010-07-06 11:08:52 +02:00
BAUDINET Bertrand f437389486 [openid-provider] Adding a page to manage identities
Adding url and 2 templates to allow a user to manage his
identities, add or remove identities and select the default
identities
2010-07-06 11:05:10 +02:00
BAUDINET Bertrand 0ff4afacf4 [openid-provider] Create an openid url for the new user register
Create an openid url with username of the new user automatically when he
registered.
2010-07-06 10:49:33 +02:00
BAUDINET Bertrand 08d20b915e [openid-provider] Adding the application to provider an openid provider
Adding the differents urls to provider openid, and a page to decide to
trust or not a site.
And adding an option to decide wich path will use the openid provider.
2010-07-06 10:43:49 +02:00
BAUDINET Bertrand 8966a872bc [Authentic] Import an exception that can be throw during the discover phase 2010-06-24 14:50:33 +02:00
BAUDINET Bertrand e4b9899e8d [Logger] Improve the sentence for the log 2010-06-24 11:54:54 +02:00
BAUDINET Bertrand 35cfbcd6b6 [Authentic] Loggin for signin with OpenID
Use the auth_oidlogin signal to log the signin with OpenID
2010-06-24 11:54:00 +02:00
BAUDINET Bertrand 47819833da [Authentic] Add a signal for login with OpenID
Change url to overload signin from django_authopenid and send a signal
after an openid response.
2010-06-24 11:52:12 +02:00
Mikaël Ates 29a6c79664 [saml] Remove prints on stderr 2010-06-16 13:15:22 +02:00
Mikaël Ates ae1f2a8149 [Authentic] Add service provider part relying on AuthSAML2
Add parameters in settings.
Modification of templates.
Modification of functions to call templates with AuthSAML2
parameters.
2010-06-16 13:07:02 +02:00
Mikaël Ates dcd4a99689 [saml] Add of common saml functions
Correction of models for metadata loading.
Functions to manage Manage dumps.
Better federation records management.
Better session_index management for service providers only.
Function for SOAP calls.
2010-06-16 13:00:29 +02:00
Mikaël Ates c02268c3e6 [AuthSAML2] Add AuthSAML2 Application to project
AuthSAML2 is an autonomous django application to make third
django applications support the SAML2 protocol as SAML2
service providers.
See README for more information.
2010-06-16 12:23:45 +02:00
BAUDINET Bertrand 6783e68654 Correct the Error: "No module named admin_log_view.models" by adding the
missed file
2010-06-15 15:05:06 +02:00
BAUDINET Bertrand 2439479f47 Add a link in the default page to associate the account with an OpenID
account
2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 861e6b9c2f Review the view of the loggin to reverse logs and put in bold error
log
2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 0de6342708 Add middleware to log request 2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 076c783575 move connections to signals in the idp module 2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 69b0c5d0fc Add auth_backend in idp, to add the possibility to log the logging
and the logout
2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 2fcccb010a Add the module admin_log_view in the installed_apps 2010-06-14 11:07:49 +02:00
BAUDINET Bertrand bdc6ae07c4 Add the view for admin_log_view in the admin 2010-06-14 11:07:49 +02:00
BAUDINET Bertrand 469801d033 Add the model for the admin_log_view module, with function to
get the logger, to log with different level and add automatic
loggin for the user registration and the user activation.
2010-06-14 11:07:48 +02:00
BAUDINET Bertrand 171c926edb template for the admin_log_view module 2010-06-14 11:07:48 +02:00
BAUDINET Bertrand f10dc00e6b Add the url and the settings for the loggin module 2010-06-14 11:07:48 +02:00
Mikaël Ates 87b4b9a371 Handle of the session index for the service provider. 2010-06-09 17:34:07 +02:00
Mikaël Ates f190c99421 Federation management functions
Helper functions to retrieve identity providers lists
2010-06-09 14:51:06 +02:00
Benjamin Dauvergne ef24320ebd Restore django.contrib.sites application 2010-06-08 14:47:35 +02:00
Benjamin Dauvergne 44b3870dd4 ID-FFv1.2 idp: add idp.saml.idff12_endpoints.idp_sso to initiate idp sso
* It re-uses ends of sso method through new method
   sso_after_process_request.
 * There is two url regex set:
    - idp_sso/<entity_id> to just initiate sso
    - idp_sso/<entity_id>/<uid> to initiate sso and use federation of
      another user, it's only permitted to the superuser.
2010-06-06 13:28:17 +02:00
Benjamin Dauvergne 2d3cbf31f8 SAML common: add possibility to load federation from another user 2010-06-06 13:08:51 +02:00
Benjamin Dauvergne f677005786 SAML common: change the way endpoints base path is computed
* we use reverse() to find the URL of endpoints
2010-06-05 15:14:37 +02:00
Benjamin Dauvergne 20333be06a SAML common: fix return_idff12_{response,request} 2010-06-05 15:12:15 +02:00
Benjamin Dauvergne 09fe86958a SAML common: make load_provider return the provider object, and load provider for a specific role 2010-06-05 15:11:44 +02:00
Benjamin Dauvergne 3ac02d2329 SAML common: only show dump tables when debugging 2010-06-05 15:10:58 +02:00
Benjamin Dauvergne 07f764f86e SAML common: add a prefered protocol profile configuration to services providers 2010-06-05 15:10:08 +02:00
Benjamin Dauvergne 1e2fd4aa74 SAML idp: implement SAML listing of services on homepage 2010-06-05 15:09:24 +02:00
Benjamin Dauvergne 892e771500 IDP: change homepage view 2010-06-05 15:08:52 +02:00
Benjamin Dauvergne 4b4b0cd5f0 IDP: add a simple service registry for showing on user homepage 2010-06-05 15:08:11 +02:00
Benjamin Dauvergne 5d857cc120 SAML common: add TODO and doc strings in models.py 2010-06-04 12:16:57 +02:00
Benjamin Dauvergne 82b9bd7c44 SAML common: add enabled field to service and identity provider models 2010-06-04 12:09:17 +02:00
Benjamin Dauvergne 4104699244 ID-FFv1.2 idp: remove debugging print 2010-06-04 12:06:59 +02:00
Benjamin Dauvergne 3679c5f50e SAML common: add translation markers for UI strings 2010-06-04 12:04:34 +02:00
Benjamin Dauvergne 25e90c78e0 ID-FFv1.2: start view function for idp initiated sso 2010-06-04 12:00:33 +02:00
Benjamin Dauvergne 9869bd7626 ID-FFv1.2: fix doc string for build_assertion 2010-06-04 12:00:33 +02:00
Benjamin Dauvergne fd7f44961d SAML common: change inline view for Identity and Service providers to stacked 2010-06-04 12:00:33 +02:00
Benjamin Dauvergne 795f950437 SAML common: move storage of metadata files into their own directory
* It prevents public exposure through the media site.
2010-06-04 11:59:57 +02:00
Frédéric Péters 88dc4382a3 [saml] Remove references to constants only available in an unrelased Lasso 2010-06-04 10:34:14 +02:00