Subversion Repositories wimsdev

Rev

Rev 5015 | Go to most recent revision | Details | 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
7
!set class=$wims_read_parm
8
!set superclass=!text remove . in $class
9
!set superclass=!replace internal / by , in $superclass
10
!set superclass=$(superclass[1])
11
 
12
!set auth_method_list=ldap,cas,phpidp
13
!set auth_idp_list=ldap,phpidp
14
 
15
!set auth_method=!defof class_auth in wimshome/log/classes/$superclass/.def
16
!set idp_method=!defof class_idp in wimshome/log/classes/$superclass/.def
17
!set class_auth=$auth_method
18
!bound auth_method within $auth_method_list default $
19
!bound idp_method within $idp_method_list default $
20
 
21