Subversion Repositories wimsdev

Rev

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

Rev 5016 Rev 5028
Line 21... Line 21...
21
# new variables to keep original data (used only in external authentication)
21
# new variables to keep original data (used only in external authentication)
22
auth_user_connection=$auth_user
22
auth_user_connection=$auth_user
23
auth_password_connection=$auth_password
23
auth_password_connection=$auth_password
24
 
24
 
25
##### EXTERNAL connection - part 1 #####
25
##### EXTERNAL connection - part 1 #####
-
 
26
!!default sclass=$class
26
 
27
 
27
!if $auth_user notsametext supervisor and $auth_method isitemof $auth_method_list
28
!if ($auth_user notsametext supervisor or $class_type>0) and $auth_method isitemof $auth_method_list
28
 authdef=wimshome/log/classes/$superclass/.def
29
 authdef=wimshome/log/classes/$superclass/.def
29
 
30
 
30
 # don't use auth_user and auth_password, some characters are unvailable
31
 # don't use auth_user and auth_password, some characters are unvailable
31
 # parameters are empty for auth-cas
32
 # parameters are empty for auth-cas
32
 !readproc adm/class/auth-$auth_method $auth_user_connection,$auth_password_connection
33
 !readproc adm/class/auth-$auth_method $auth_user_connection,$auth_password_connection
33
 
34
 
34
  auth_user_orig=$auth_user
35
  auth_user_orig=$auth_user