Logging from the Sun Kerberos package?
Cantor, Scott
cantor.2 at osu.edu
Wed Jan 16 17:21:31 EST 2013
On 1/16/13 5:17 PM, "Douglas E. Engert" <deengert at anl.gov> wrote:
>>
>I thought that the Answer 1 in this:
>http://stackoverflow.com/questions/9738756/jaas-kerberos-login-exception-o
>n-wrong-username-password
>
>showed how to get the underlying exception:
> Throwable t = e.getCause();
> if (t instanceof KrbException) {
>And from there one could get
> the error message from the t.getMessage();
I believe that is false. When I tried it all I got was null. It's not
really that important because knowing the type doesn't tell you anything
about what the error means to a user, and you don't need it to log, so it
isn't really helpful.
-- Scott
More information about the users
mailing list