Software AG Product Suite 10.4 | 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 javax.security.auth.login.LoginContext;. . .LoginContext
loginContext = new LoginContext(configuration_entry_name,
CallbackHandler_to_be_used_for_user_interaction);

Copyright © 1999-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release