Previous Next Contents


Login Wizard

The login wizard allows you to create an HTML page to prompt the user for information, a servlet to authenticate that information, and an HTML template to display the information.

Related Topics

Specify Base Name and Location
Description
Decide what to label the files and in which directory to store them.

Properties
Field
Value
Example
Name
Name of the files.
Login1
Directory
Directory in which to store the files.
C:\nab\apps\HelloWld\


Specify Input
Description
Specify the input parameters and properties of those parameters.

Properties
Field
Value
Example
Name
Name of the parameter.
username
HTML Type
Type of HTML component used to obtain user input.
text
Default Value
Value that will appear in the field unless the user specifies another value.
Bill Smith
Validation
Type of input user must supply.
Alphabetic
Required
You can enable the checkbox to require user input for the parameter.

Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Related Topic

Select Login Authentication
Description
Specify how the login is authenticated.

Properties
Field
Value
Database Table
Authenticate the login against a database table.
LDAP Server
Authenticate the login against the LDAP server.
Custom
You can write custom code to perform the authentication; Netscape Application Builder does not generate the code.

Related Topic

Database Table
Authenticate the login against information in a database table.


Specify Data Model
Description
Specify the data model.

Properties
Field
Value
Example
Data Model
You can select a data model found in the current project from the pop-up list or click Browse to locate a data model found elsewhere.
MessageBoard.kdm
Create a new data model
Exit the wizard to create a new data model.

Related Topic

Specify Data Connection
Description
Select the database to log in to.

Properties
You can choose either a new connection or select an existing connection from the drop-down list.

Related Topic

New Database Connection
Description
Create a new connection to the database from which to retrieve information.

Properties
Field
Value
Example
Driver
Database driver type.
ODBC
Data Sources
Name of the data source.
Employee Database
Database Name
Name of the database from which you retrieve information.

User name
User ID required by the data source.

Password
User password required by the data source.

Related Topic

Specify Database Login Information
Description
Specify the database table where you retrieve information. In addition, specify which database fields to bind to user input.

Properties
Field
Description
Example
Table
Database table where you retrieve information.
chatUsers
Column to Bind Input Value
You can specify which column in the database corresponds to the user input.

Related Topic

Specify Query Outputs to Save to Session
Description
Specify which fields to store with session information.

Properties
You can enable the checkbox corresponding to user input you want to store with session information. For example, you can save the user's ID and password for use later in the session.

Related Topic

LDAP Server
Description
Specify LDAP server information.

Properties
Field
Value
Example
Server Name
Name or label of the LDAP server.
GoBlue
Server Port
Address or port number of the LDAP server.
398
Organization
Name of your organization.
Netscape
Country
Your geographic location.
United States
ValIn for UserName
Database field against which user input is compared.
Username
ValIn for Password
Database field against which user input is compared.
Password

Related Topic

Finish
Description
Click Finish to complete the login wizard. A Java file is created with generated code that performs the function you designated in previous steps.

 

© Copyright 1999 Netscape Communications Corp.