Subversion Repositories wimsdev

Rev

Rev 5404 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!if $wims_ismanager>1
2
 !exit
3
!endif
4
auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor
5
auth=!trim $auth
6
!if $auth!=yes
7
 sec=!defof class_secure in wimshome/log/classes/$wims_class/.def
8
 sec=!trim $sec
9
 htest=!checkhost $sec
10
 !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\
11
	($sec=$empty and $auth=no)
12
  error=not_secure
13
  !exit
14
 !endif
15
 !if $sec=$empty and $auth=$empty
16
  jobt=auth
17
  !read auth.proc
18
  !if $auth=yes
19
   jobt=list
20
  !endif
21
  !if $auth=no
22
   error=not_secure
23
   !exit
24
  !endif
25
  !if $auth=$empty
26
   !exit
27
  !endif
28
 !endif
29
!endif
30