Commit Graph

4145 Commits

Author SHA1 Message Date
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
Frédéric Péters 54e5d6b7f7 [saml] don't fail on missing metadata file 2010-06-04 10:08:51 +02:00
Benjamin Dauvergne ec584dbb67 SAML common: in admin.py add inline views for Service and Identity Provider to the main provider view 2010-06-04 03:37:50 +02:00
Benjamin Dauvergne ad1ff49fd6 SAML common: move {load/save}_{federation/session} to common module 2010-06-04 03:37:20 +02:00
Benjamin Dauvergne 1603bf49fa SAML common: make attribute maps optional for providers 2010-06-04 03:36:39 +02:00
Benjamin Dauvergne e864c70365 SAML common: add choices for attribute map format 2010-06-04 03:36:16 +02:00
Benjamin Dauvergne e672e43e8e ID-FFv1.2 idp: use relative urls for redirects 2010-06-04 03:35:47 +02:00
Benjamin Dauvergne 8367b1727a SAML common: re-add LibertySession, LibertyIdentityDump and LibertyService Provider to admin 2010-06-04 02:40:32 +02:00
Benjamin Dauvergne 9769df44b6 SAML common: make LibertyServiceProvider and LibertyIdentityProvider one-to-one mapping of LibertyProvider 2010-06-04 02:40:27 +02:00
Benjamin Dauvergne 6a3c3d34b2 SAML common: in models.py remove all editable = False constraints 2010-06-03 23:34:58 +02:00
Benjamin Dauvergne 4a4288d838 SAML common: add customization to LibertyProvider admin view 2010-06-03 23:34:52 +02:00
Benjamin Dauvergne f25d10a8a8 SAML common: move models to saml standalone application
* Add extraction of conformance level
 * Remove useless table view from admin
 * Add columns to provider view (entity_id and protocol_conformance)
 * Store metadata files with a timestamp and type prefix
2010-06-03 18:18:10 +02:00
Frédéric Péters f0827b2396 [css] border on submit buttons 2010-06-03 18:09:02 +02:00
Frédéric Péters b18bce2284 [css] Do not alter location of all buttons, just the login one 2010-06-03 17:20:42 +02:00