;;; -*- mode: Lisp; Syntax: Common-Lisp; -*- ;;; ;;; Copyright (c) 2009 by the authors. ;;; ;;; See LICENCE for details. (in-package :hu.dwim.wui.test) (def class authentication-application (standard-application) ()) (def special-variable *authentication-application* (make-instance 'authentication-application :path-prefix "/authentication/")) (def entry-point (*authentication-application* :path +login-entry-point-path+) (call-with-entry-point-logic/login-with-identifier-and-password (named-lambda login-entry-point-response-factory (&key login-data (user-action? #f) (authentication-happened? #f) &allow-other-keys) (declare (ignore login-data user-action? authentication-happened?)) (make-raw-functional-response () (emit-http-response/simple-html-document (:title "Login" :status +http-ok+) (if *session*