394811: Make JAASLoginService log login failures to DEBUG instead of WARN. Same for some other exceptions.

This commit is contained in:
Thomas Becker 2012-11-21 17:40:26 +01:00
parent 0f60eb751d
commit 6a194521c0
1 changed files with 11 additions and 6 deletions

View File

@ -245,27 +245,32 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService
}
catch (LoginException e)
{
LOG.warn(e);
LOG.debug(e);
}
catch (IOException e)
{
LOG.warn(e);
LOG.info(e.getMessage());
LOG.debug(e);
}
catch (UnsupportedCallbackException e)
{
LOG.warn(e);
LOG.info(e.getMessage());
LOG.debug(e);
}
catch (InstantiationException e)
{
LOG.warn(e);
LOG.info(e.getMessage());
LOG.debug(e);
}
catch (IllegalAccessException e)
{
LOG.warn(e);
LOG.info(e.getMessage());
LOG.debug(e);
}
catch (ClassNotFoundException e)
{
LOG.warn(e);
LOG.info(e.getMessage());
LOG.debug(e);
}
return null;
}