| java.awt.Panel java.applet.Applet sunlabs.brazil.handler.DialogHandler
DialogHandler | public class DialogHandler extends java.applet.Applet implements Handler(Code) | | Sample handler for popping up a dialog box on the server.
This is used for interactive authentication of web pages, allowing
an operator on the server's computer to allow or deny access
to pages on a per request basis.
Input parameters examined in the request properties:
- prefix
- The required URL prefix.
- default
- The message to appear in the dialog box.
Defaults to Request from Client.
- denied
- The message to appear in the "permission denied" spot.
If query data is present, it is used as the message.
Note: This is the only class in the entire system that requires AWT.
author: Stephen Uhler version: 1.9, 00/12/11 |
dismiss | public void dismiss(boolean how)(Code) | | |
handleEvent | public boolean handleEvent(Event event)(Code) | | |
init | public void init()(Code) | | Machine generated code.
Everything after here was automatically generated
SpecTcl generated class Dialog, version 1.0
|
respond | public boolean respond(Request request) throws IOException(Code) | | Pop up a dialog box on the server machine.
Allow the operator to select yes or no.
If the request is allowed, it is passed on to the next handler.
|
|
|