Application Integration (On-Premises) : Administering the Software AG Infrastructure : Setting Up Security : Develop a JAAS Client
Develop 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 © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback