Software AG Infrasructure 10.7 | Setting Up Security | Developing a JAAS Client
Developing a JAAS Client
Create the login context. Below is an example of how to authenticate a user. In this case, you must instantiate a LoginContext, where configuration_entry is the name used as the index into the JAAS configuration file:
import;. . .LoginContext
loginContext = new LoginContext(configuration_entry_name,