NonStop Server for Java 6.0 Programmer's Reference
NOTE:
• T is an optional argument.
• The default value of T is 40 milliseconds.
• Values of T can range between 0 to 32767. If the specified value of T is above 32767, the
value is time-sliced to 32767.
Java Authentication and Authorization Service (JAAS)
The Java Authentication and Authorization Service (JAAS) is integrated into the NonStop Server
for Java 6.0. 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 6.0 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 JAASLoginModule Developer's Guide.
(http://java.sun.com/javase/6/docs/technotes/guides/security/jaas/JAASLMDevGuide.html)
JavaBeans
JavaBeans are reusable software components that can run in both a design environment (inside a
s fsfbuilder 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
6.0 supports only runtime execution of invisible JavaBeans. The NonStop Server for Java 6.0 does
not support design-time execution or runtime execution that requires a GUI operation. For this
reason, in the NonStop Server for Java 6.0, the Boolean expression java.beans.Beans
isGuiAvailable returns the value false.
The NonStop Server for Java 6.0 includes the JavaBeans Development Kit (BDK).
For more information about JavaBeans, see the Sun Microsystems JavaBeans document
(http://java.sun.com/javase/6/docs/technotes/guides/beans/index.html).
Java Authentication and Authorization Service (JAAS) 53










