Adding user authentication to an existing application
You can use the Login Wizard to add user authentication to an existing application. The Login
Wizard modifies the existing Application.cfc. If your application uses an Application.cfm file
instead of an Application.cfc file, ColdFusion MX ignores the Application.cfm file when the
Login Wizard creates the Application.cfc file in the same directory as the existing Application.cfm
file.
If your application already contains a file named index.cfm, the Login Wizard creates the file
mm_wizard_index.cfm. You can use your existing index.cfm file without modifying it.
Starting the Login Wizard
After you install the Login Wizard, you can open it from Dreamweaver.
To start the Login Wizard:
Start Dreamweaver.
1.
Ensure that the active site is the one for which you want to restrict access.
2.
Note: The currently active site must be a local site. The Remote Info Access and the Test Server
Access must be RDS
In Dreamweaver, select Commands > CF Login Wizard.
3.
Click Begin the Wizard.
4.
Do one of the following:
5.
If the site for which you want to restrict access is the currently active site in Dreamweaver,
select the Secure Your Active Site option.
To restrict access to a different site, select the Secure a Specific Directory option, click
Browse, and then select the application for which you want to restrict access.
Click Next.
6.
Depending on the type of authentication you want to use, continue with the instructions in the
7.
appropriate section:
Creating a login using simple authentication
Creating a login using LDAP authentication
Creating a login using Windows NT authentication
Exercise 1: About the Login Wizard
145
Need help?
Do you have a question about the COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION MX and is the answer not in the manual?
Questions and answers