NSAPI module fails to detect port and scheme on Sun WS 7.x

Description

As of 7.x, the NSAPI macros for deriving SSL status and the request port no longer work. When two listeners are bound to one instance, the security and port macros return "true" and 80, rather than basing the result on the request.

There appears to be no API solution, making NSAPI now defunct, but to keep the SP working a work-around can be used based on the obj.conf support for "variables" that can be read based on the request. Parameters to the NSAPI functions in the module can be set based on the $security and $env{'SERVER_PORT'} variables and passed in from outside.

Environment

Windows, Sun WS 7.x

Activity

Scott Cantor June 23, 2009 at 12:46 PM

Closing after releases.

Fixed

Assignee

Reporter

Components

Fix versions

Affects versions

Created January 10, 2009 at 4:46 PM
Updated June 23, 2009 at 12:46 PM
Resolved January 10, 2009 at 4:57 PM