Subversion Repositories wimsdev

Rev

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

Rev 5070 Rev 5542
Line 4... Line 4...
4
 
4
 
5
!distribute items $wims_read_parm into class,option
5
!distribute items $wims_read_parm into pclass,option
6
!set class=!text select 1234567890/ in $class
6
!set pclass=!text select 1234567890/ in $pclass
7
!if $class=$empty
7
!if $pclass=$empty
8
  !exit
8
  !exit
9
!endif
9
!endif
10
 
10
 
11
!if $option=auth
11
!if $option=auth
12
  !goto auth
12
  !goto auth
13
!endif
13
!endif
14
 
14
 
15
!set superclass=!text remove . in $class
15
!set superclass=!text remove . in $pclass
16
!set superclass=!replace internal / by , in $superclass
16
!set superclass=!replace internal / by , in $superclass
17
!set superclass=$(superclass[1])
17
!set superclass=$(superclass[1])
18
 
18
 
19
:auth
19
:auth
20
!reset host_auth
20
!reset host_auth
21
!!FIXME should be in wims.conf
21
!!FIXME should be in wims.conf
22
!set auth_method_list=ldap,cas,php
22
!set auth_method_list=ldap,cas,php
23
!set idp_method_list=ldap,php
23
!set idp_method_list=ldap,php
24
 
24
 
25
!set ssclass=!text remove . in $class
25
!set ssclass=!text remove . in $pclass
26
!set ssclass=!replace internal / by , in $ssclass
26
!set ssclass=!replace internal / by , in $ssclass
27
!set ssclass=$(ssclass[1])
27
!set ssclass=$(ssclass[1])
28
!set type_class=!defof class_type in wimshome/log/classes/$class/.def
28
!set type_class=!defof class_type in wimshome/log/classes/$pclass/.def
29
 
29
 
30
!set authidp_method=!defof class_authidp in wimshome/log/classes/$ssclass/.def
30
!set authidp_method=!defof class_authidp in wimshome/log/classes/$ssclass/.def
31
!set class_authidp=$authidp_method
31
!set class_authidp=$authidp_method
32
!set auth_method=$(authidp_method[1;])
32
!set auth_method=$(authidp_method[1;])
33
!set idp_method =$(authidp_method[2;])
33
!set idp_method =$(authidp_method[2;])