Using Multiple JAAS Modules

You can stack the provided JAAS modules to suit your environment and authentication needs. There are no restrictions on which or how many modules can be stacked.

To stack multiple JAAS modules, include the desired module configurations and JAAS flags in the same configuration file that is reference by the JAAS configuration parameter, jaas_config.

The behavior and authentication requirements of the included modules are controlled by the module Flag value assigned to each module in the stack. For more information, see the Oracle javax.security.auth.login.Configuration Class documentation for information on using multiple JAAS modules.