Subversion Repositories wimsdev

Rev

Rev 20 | Rev 5646 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!if $wims_ismanager>1
 !exit
!endif
auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor
auth=!trim $auth
!if $auth!=yes
 sec=!defof class_secure in wimshome/log/classes/$wims_class/.def
 sec=!trim $sec
 htest=!checkhost $sec
 !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\
        ($sec=$empty and $auth=no)
  error=not_secure
  !exit
 !endif
 !if $sec=$empty and $auth=$empty
  jobt=auth
!!## the following file is in the module (class/config) FIXME ??
  !read auth.proc
  !if $auth=yes
   jobt=list
  !endif
  !if $auth=no
   error=not_secure
   !exit
  !endif
  !if $auth=$empty
   !exit
  !endif
 !endif
!endif