NonStop Server for Java 5.1 Programmer's Reference
JAAS Enhancement
In NonStop Server for Java 3.x and earlier versions, the Java Authentication and Authorization Service
(JAAS) was an optional package (extension). JAAS is integrated into the NonStop Server for Java 4.
JAAS augments the core Java 2 platform with APIs that allow authenticating users and enforcing access
controls upon users. Traditionally, Java 2 provided code-source-based access controls (access controls
based on where the code originated and who signed the code). However, Java 2 lacked the ability to
additionally enforce access controls based on who runs the code. In NonStop Server for Java 4, JAAS
provides a framework that augments the Java 2 security architecture with this additional capability.
For more information on JAAS, see Java Authentication and Authorization Service (JAAS).
Miscellaneous Changes for Migration to
TNS/E
JNI_OnLoad and JNI_OnUnLoad Functions●
Debugger●
Default Heap and Stack Sizes●
dlfcn.h File●
JNI_OnLoad and JNI_OnUnLoad Functions
All applications migrating from TNS/R systems must change the JNI_OnLoad function. The format
you use depends on the system type:
On TNS/R systems, you use the following name:
JNI_OnLoad_libname
where libname is the name of the library that your program passed to the
System.loadLibrary function.
●
On TNS/E systems, use:●
JNI_OnLoad
On TNS/R systems, the JNI_OnUnload function is not supported by NonStop Server for Java 4. On
TNS/E systems, the JNI_OnUnload function is supported.