Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-24 Thread Vincent
Hi Max, Thanks for your reply. Sorry I didn't mention it in my precedent mail, but I'm quite familiar with the usual debug process with JAAS and Krb5. Turning on these 3 debug switches was the first thing I went for when the problem occurred. But this time these didn't really help. That's why

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-24 Thread Weijun Wang
I see. I am not sure we can fail here because historically we don't differentiate between a "system" failure and an "application" failure. Although the methods in LoginModule specify a LoginException, if another exception is thrown, we now treat it as a normal login error. Maybe we can add mor