net.sf.ooweb.objectmapping
Interface LoginForm
public interface LoginForm
LoginForm is implemented by a class that wishes to act as the login
form generator for the application. Only one such class will be
used by OOWeb, so if your registry of server objects contains more
than one implementation, you have no control over which will be
used.
- Since:
- 0.7
- Author:
- Darren Davison
Method Summary |
java.lang.String |
loginForm(java.lang.String action,
java.lang.String usernameField,
java.lang.String passwordField)
The method that will be called to generate the form used to capture
login details. |
loginForm
java.lang.String loginForm(java.lang.String action,
java.lang.String usernameField,
java.lang.String passwordField)
throws java.lang.Exception
- The method that will be called to generate the form used to capture
login details. The framework will supply the names of the action,
username and password field names that should be used to build the
HTML input fields.
- Parameters:
action
- the value that should be used for the form's action propertyusernameField
- the name of the username fieldpasswordField
- the name of the password field
- Returns:
- a String containing the HTML representing a loigin page
- Throws:
java.lang.Exception
Copyright (C) 2005-2007 OOWeb Authors.