1. 24 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Use per-election authentication · b2ebd810
      Stephane Glondu authored
       - base template is abstracted over login_box
       - per-election templates and services (except those related to
         update_credentials) refer to per-election auth services
       - login templates are parametrized over AUTH_SERVICES
      b2ebd810
  2. 23 Mar, 2014 5 commits
  3. 20 Mar, 2014 2 commits
  4. 11 Mar, 2014 1 commit
  5. 10 Mar, 2014 2 commits
  6. 07 Mar, 2014 1 commit
    • Stephane Glondu's avatar
      Handle configuration locally in each auth system · 05bc228a
      Stephane Glondu authored
      Summary:
       - move rewrite_prefix to Web_common
       - each auth system now has an $init function that registers its
         configuration spec and an $exec function to Auth_common
       - an auth system may support multiple instances via configuration;
         user_type is specific to each instance
       - when parsing is done, each $exec is called with an $instantiate
         callback; $exec is supposed to call $instantiate for each instance
      
      TODO:
       - default fallback when there are several instances
       - generic login should do security_log
       - auth system instances should not set user_type themselves
       - it should not be possible to login twice
       - admin login
       - update doc
      05bc228a
  7. 06 Mar, 2014 1 commit