Rev 5013 | Rev 5019 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5013 | bpr | 1 | !!! init some parameters of a class |
2 | !!!INPUT = number of a class |
||
3 | !!!OUTPUT= superclass, auth_method_list, aut_idp_method_list, auth_method, aut_idp_method |
||
4 | !if $wims_read_parm=$empty |
||
5 | !exit |
||
6 | !endif |
||
5015 | bpr | 7 | |
5013 | bpr | 8 | !set class=$wims_read_parm |
9 | !set superclass=!text remove . in $class |
||
10 | !set superclass=!replace internal / by , in $superclass |
||
11 | !set superclass=$(superclass[1]) |
||
12 | |||
13 | !set auth_method_list=ldap,cas,phpidp |
||
14 | !set auth_idp_list=ldap,phpidp |
||
15 | |||
16 | !set auth_method=!defof class_auth in wimshome/log/classes/$superclass/.def |
||
17 | !set idp_method=!defof class_idp in wimshome/log/classes/$superclass/.def |
||
5015 | bpr | 18 | !set class_auth=$auth_method |
5013 | bpr | 19 | !bound auth_method within $auth_method_list default $ |
20 | !bound idp_method within $idp_method_list default $ |