*/
public class FlagsMeaningTest extends TestCase {
private static final Map<String, Object> noOptions = Collections.emptyMap();
public void testSufficientExceptionTrue() throws LoginException {
Configuration conf = new FixedConfiguration(new AppConfigurationEntry[] {
new AppConfigurationEntry(ExceptionLM.class.getName(), AppConfigurationEntry.LoginModuleControlFlag.SUFFICIENT, noOptions),
new AppConfigurationEntry(TrueLM.class.getName(), AppConfigurationEntry.LoginModuleControlFlag.SUFFICIENT, noOptions),
});
LoginContext lc = new LoginContext("foo", null, null, conf);
lc.login();