NonStop Server for Java 4.2 Programmer's Reference

javax.print.event
Java Authentication and Authorization
Service (JAAS)
The Java Authentication and Authorization Service (JAAS) is integrated into the NonStop Server for Java 4. JAAS
augments the core Java 2 platform with facilities to authenticate and enforce access controls upon users. JAAS,
also, has the ability to enforce access controls based on who runs the code.
JAAS implements a Java version of the standard Pluggable Authentication Module (PAM) framework. This
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 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