NonStop Server for Java 5.1 Programmer's Reference

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 5.1 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.5.0/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 runtime 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 runtime 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 operating system, the NonStop Server for Java 5.1 supports only
runtime execution of invisible JavaBeans. The NonStop Server for Java 5.1 does not support design-time execution
or runtime execution that requires a GUI operation. For this reason, in the NonStop Server for Java 5.1, the
Boolean expression java.beans.Beans isGuiAvailable returns the value false.
The NonStop Server for Java 5.1 includes the JavaBeans Development Kit (BDK).
For more information about JavaBeans, see the Sun Microsystems JavaBeans document
(http://java.sun.com/j2se/1.5.0/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