• 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
auth_cas.ml 6.46 KB