Subversion Repositories wimsdev

Rev

Rev 5015 | Rev 5027 | 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
5019 bpr 3
!!!OUTPUT= superclass, auth_method_list, aut_idp_method_list, auth_method, aut_idp_method, type_class
5013 bpr 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
 
5019 bpr 13
!set auth_method_list=ldap,cas,php
14
!set idp_method_list=ldap,php
15
!set type_class=!defof class_type in wimshome/log/classes/$class/.def
5013 bpr 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 $