Take a look at the contributed cold fusion downloads.
General Middleware Characteristics
We have tested the distributed authentication service with Cold Fusion
3.x
on the NT.
We expect other middleware applications that support the
following chracteristics to be fully integratable with the
distributed authentication service.
If the database records contain authorization fields, then the REMOTE_USER variable must be evaluated by the middleware, and the pass-through option can be enabled so that the middleware has access to the REMOTE_USER variable even when this user did not pass the authentication step.
Cold Fusion and the Distributed Authentication Service
(under development)
Since many members of the campus community use Cold Fusion as their
middleware, we have studied how Cold Fusion and the distributed
authentication service work together. In addition, for the NT platform
running NT 4.0 and Cold Fusion 3.x, DCAS has conducted
a series of timed trials.
There are a number of ways that Cold Fusion and the Distributed Authentication Service can work together, depending on the authentication and authorization requirements of the database. This flowchart shows how they interrelate. Here are a few common ways for them to interact:
Here are the details. When a browser requests the .cfm file in the restricted directory, the distributed authentication cgi will be invoked. Assuming the user's browser does not have a valid cookie, the local web server points the user's browser to the secure web server. The secure web server and Kerberos KDC negotiate the login process with the user. If the login is valid, the secure web server creates the AFS file and generates and sends the cookie to the browser. The local web server then redirects the browser to the restricted web page. Again, the local web server will check for a valid cookie and corresponding AFS file. If the cookie is authentic, the process passes to the middleware, and the content is generated and sent to the local web server, then displayed.
Here are the details. When a browser requests the .cfm file in the restricted directory, the distributed authentication cgi will be invoked. Assuming the user's browser does not have a valid cookie, the local web server points the user's browser to the secure web server. The secure web server and Kerberos KDC negotiate the login process with the user. If the login is valid, the secure web server creates the AFS file and generates and sends the cookie to the browser. The local web server then redirects the browser to the restricted web page. Again, the local web server will check for a valid cookie and corresponding AFS file. If the cookie is authentic, the REMOTE_USER variable is set to the user's UCD LoginID, and the process passes to the Cold Fusion. Cold Fusion reads the REMOTE_USER variable, and determines whether the user is authorized to access the record that has been requested. If so, the content is generated and sent to the local web server, then displayed.
Here are the details. When the .cfm file is accessed, Cold Fusion determines whether authentication or further authorization is required. For records requiring only guest access, the content can be generated by Cold Fusion, then displayed. If the requested records require authentication, Cold Fusion can first evaluate the REMOTE_USER variable. If this variable is not set to a valid UCDLoginID, Cold Fusion can call the distributed authentication cgi. If Cold Fusion determines that the returned REMOTE_USER variable is valid, it can use this information to then determine if further authorization is required, and complete that authorization step. Next, the content can be generated and displayed. If Cold Fusion determins that the returned REMOTE_USER variable is invalid, it can generate an error notification.