Commit Graph

5658 Commits

Author SHA1 Message Date
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
Benjamin Dauvergne 057cf0308f ID-FFv1.2 idp: prepare finish_artifact_resolve for the case of an unfound artifact
* in this case we do not save the session dump
2010-06-03 17:14:51 +02:00
Benjamin Dauvergne ce75831b0b ID-FFv1.2 idp: fix bad target for call to processRequestMsg in artifact_resolve 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne 6c3af498c4 ID-FFv1.2 idp: QuerySet.get takes the same arguments as filter
* I though that it would look up the primary key automatically
2010-06-03 17:14:51 +02:00
Benjamin Dauvergne 9a81119cbe ID-FFv1.2 idp: add informational logging to artifact resolver 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne 82138d7ab7 ID-FFv1.2 idp: load the provider referred by the artifact in the artifact resolver 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne bd270deb09 SAML common: raise an exception if server construction fails 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne 6bd1f90b09 SAML common: add missing import of HttpResponse 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne df89417b1b ID-FFv1.2 idp: implement artifact resolver for login requests 2010-06-03 17:14:51 +02:00
Benjamin Dauvergne 0ffa5e2606 ID-FFv1.2 idp: exemplt sso and soap from csrf protection 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne 87224f0c09 ID-FFv1.2 idp: in idff12_endpoints.sso for invalid message, return explicit message with HTTP error 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne 25a290edc2 ID-FFv1.2 idp: replace HttpResponseForbidden by an AuthnResponse for signature errors 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne d1eb4055c2 ID-FFv1.2 idp: factorize idff12_endpoints.sso response returning in finish_sso 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne 58dc14bac1 ID-FFv1.2 idp : add debug tracing of received message to idff12_endpoints.sso 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne 4bea66eefd ID-FFv1.2 idp: fix load_session 2010-06-03 17:14:50 +02:00
Benjamin Dauvergne 44150d9f21 SAML common: factorize soap response returning 2010-06-03 17:14:49 +02:00
Benjamin Dauvergne d8f64424f7 User get instead of filter in idff12_endpoints.load_provider 2010-06-03 17:14:49 +02:00
Benjamin Dauvergne a7dbc19a9e Add unique constraint to LibertyProvider.entity_id 2010-06-03 17:14:49 +02:00
Benjamin Dauvergne 2776b6f224 ID-FFv1.2 idp: allow to load and save another session than the current 2010-06-03 17:14:49 +02:00
Frédéric Péters 50691dcdbe Redirect some parent but non existing pages to the top 2010-06-03 16:33:38 +02:00
Frédéric Péters f666b29cbe Update OpenID templates to match the CSS classes used in other places 2010-06-03 16:28:56 +02:00
Frédéric Péters 853eb48963 Move OpenID stuff under /accounts/openid/ 2010-06-03 16:15:32 +02:00
Frédéric Péters 2ab085d58a Force a sans serif font 2010-06-03 16:00:08 +02:00
Frédéric Péters 348cb57c02 Restore display of login errors on login page 2010-06-03 15:56:20 +02:00
Frédéric Péters ab77ab69bf Add an appropriate title to the OpenID signin page 2010-06-03 15:37:23 +02:00
Frédéric Péters 18082afc16 Light arrangements to the OpenID signin layout 2010-06-03 15:35:04 +02:00
Benjamin Dauvergne 260b76a495 ID-FFv1.2 idp: start of soap endpoint and artifact resolver implementation 2010-06-03 15:18:23 +02:00
Benjamin Dauvergne 5f1a3a8e06 SAML common: add a get_soap_message method 2010-06-03 15:17:34 +02:00
Benjamin Dauvergne ad1da2ddda ID-FFv1.2: remove explicit loading in sso and use load_provider instead 2010-06-03 15:17:33 +02:00
Benjamin Dauvergne e4b0cee15d ID-FFv1.2 idp: add a load_provider method 2010-06-03 15:17:33 +02:00
Frédéric Péters cb46172ace Add wsgi script and apache configuration snippet to .deb 2010-06-03 15:05:05 +02:00
Benjamin Dauvergne 27b9b5b413 ID-FFv1.2 idp: remove debugging print 2010-06-03 14:58:36 +02:00
Benjamin Dauvergne ee501a55cc First complete implementation of singleSignOn endpoint for ID-FFv1.2
* add {load,save}_{session,federation}
 * separate assertion building between method build_assertion and
   fill_assertion.
 * handle isPassive and ForceAuthn. Missing is the mechanism to record
   login transactions and associate them to AuthnRequest(s) id.
2010-06-03 14:55:24 +02:00
Benjamin Dauvergne c0b90e61da Add SAMLv2 and ID-FFv1.2 helper methods, fix base url getter
* add methods to return respones: return_idff12_response,
   return_idff12_request,

 * add get_base_path to retrieve the base URL for the IdP modules,
   modify metadata generating functions to use it.
2010-06-03 14:55:24 +02:00
Benjamin Dauvergne 1fee409a78 Make entity_id visible in model LibertyProvider 2010-06-03 14:55:24 +02:00
Benjamin Dauvergne c873b8bfee SAML models: complete LibertyArtifact model for ID-FFv1.2 2010-06-03 14:55:24 +02:00
Benjamin Dauvergne 528b9bfdb4 SAML models: add lasso and identity dump records 2010-06-03 14:55:24 +02:00
Frédéric Péters 529ae3d493 Add source attribution to theme 2010-06-03 14:35:21 +02:00