Configuring the NSAPI module for Netscape/iPlanet/Sun servers is a bit more involved than Apache and requires some NSAPI knowledge. There are a lot of ways to create content rules in the obj.conf
file, and sites may have existing practices or none at all.
Additionally, the module will only work on platforms where the web server has been linked to the same C++ library as the Shibboleth code. Currently this includes Windows and possibly Solaris, but not Linux.
The examples below are for Solaris. Paths and filenames are different on Windows (e.g. the module filename is nsapi_shib.dll
).
First install the module with the following lines in magnus.conf
:
Init fn="load-modules" funcs="nsapi_shib_init,nsapi_shib,shib_handler" shlib="/opt/shibboleth-sp/libexec/nsapi_shib.so" Init fn="nsapi_shib_init" server-name="sp.example.org"
If server-name
is not set, it may be possible to guess the right value but only if the box knows the correct name, so setting it is best.