This is an abstract class for representing the configuration of LoginModules under an application. The Configuration specifies which LoginModules should be used for a particular application, and in what order the LoginModules should be invoked. This abstract class needs to be subclassed to provide an implementation which reads and loads the actual Configuration . Note that this example only represents the default syntax for the Configuration . Subclass implementations of this class may implement alternative syntaxes and may retrieve the Configuration from any source such as files, databases, or servers.
Authentication proceeds down the list in the exact order specified.
The Flag value controls the overall behavior as authentication proceeds down the stack. The LoginModule is required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list. The LoginModule is required to succeed. If it succeeds, authentication continues down the LoginModule list.