Subversion Repositories wimsdev

Rev

Rev 5013 | Rev 5019 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5013 Rev 5015
Line 2... Line 2...
2
!!!INPUT = number of a class
2
!!!INPUT = number of a class
3
!!!OUTPUT= superclass, auth_method_list, aut_idp_method_list, auth_method, aut_idp_method
3
!!!OUTPUT= superclass, auth_method_list, aut_idp_method_list, auth_method, aut_idp_method
4
!if $wims_read_parm=$empty
4
!if $wims_read_parm=$empty
5
  !exit
5
  !exit
6
!endif
6
!endif
-
 
7
 
7
!set class=$wims_read_parm
8
!set class=$wims_read_parm
8
!set superclass=!text remove . in $class
9
!set superclass=!text remove . in $class
9
!set superclass=!replace internal / by , in $superclass
10
!set superclass=!replace internal / by , in $superclass
10
!set superclass=$(superclass[1])
11
!set superclass=$(superclass[1])
11
 
12
 
12
!set auth_method_list=ldap,cas,phpidp
13
!set auth_method_list=ldap,cas,phpidp
13
!set auth_idp_list=ldap,phpidp
14
!set auth_idp_list=ldap,phpidp
14
 
15
 
15
!set auth_method=!defof class_auth in wimshome/log/classes/$superclass/.def
16
!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 idp_method=!defof class_idp in wimshome/log/classes/$superclass/.def
17
!set class_auth=$auth_method
18
!set class_auth=$auth_method 
18
!bound auth_method within $auth_method_list default $
19
!bound auth_method within $auth_method_list default $
19
!bound idp_method within $idp_method_list default $
20
!bound idp_method within $idp_method_list default $
20
 
-
 
21
 
-