NonStop Server for Java Programmer's Reference (NSJ 4.2+)
pluggability permits applications to remain independent from underlying authentication technologies. New or
updated authentication technologies can be plugged in without requiring modifications to the application itself.
Applications enable the authentication process by instantiating a LoginContext object, which in turn references
a Configuration to determine the authentication technology, or LoginModule, to be used in performing the
authentication. The LoginModule interface gives developers the ability to implement different kinds of
authentication technologies that can be plugged in under an application. For example, one type of LoginModule
may perform a username-password-based form of authentication. Other LoginModules may involve more
sophisticated authentication mechanisms.
The NonStop Server for Java 4 product includes LoginModule interfaces implemented by Sun Microsystems,
such as JndiLoginModule and KeyStoreLoginModule, but does not provide a LoginModule that
interfaces to the Safeguard subsystem on NonStop Systems. You can also develop your own LoginModule
implementation.
For more information on writing a LoginModule implementing an authentication technology, see the JAAS
LoginModule Developer's Guide for detailed, step-by-step instructions
(http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/JAASLMDevGuide.html).
JavaBeans
JavaBeans are reusable software components that can run in both a design environment (inside a builder tool) and
a run-time environment.
The design environment is highly visual and requires that JavaBeans provide design information to the
programmer and allow the end user to customize its behavior and appearance.
In the run-time environment, JavaBeans might be visible, as in the case of a Graphical User Interface (GUI), or
invisible, as in the case of a data feed control.
Because of the nonvisual nature of the NonStop Kernel operating system, the NonStop Server for Java 4 supports
only run-time execution of invisible JavaBeans. The NonStop Server for Java 4 does not support design-time
execution or run-time execution that requires a GUI operation. For this reason, in the NonStop Server for Java 4,
the Boolean expression java.beans.Beans isGuiAvailable returns the value false.
The NonStop Server for Java 4 includes the JavaBeans Development Kit (BDK).
For more information about JavaBeans, see the Sun Microsystems JavaBeans document
(http://java.sun.com/j2se/1.4.2 /docs/guide/beans/index.html).
Debugging Java Programs
This subsection discusses the debugger architecture and how to run the programs involved in debugging Java
applications. The topics are:
Debugging Overview●
Transports●
java Command-Line Options to Run a Debuggee●
Starting the Java Debugger (jdb) Tool●
Debugging JNI Code●
Debugging Java and JNI Code●