394811: Make JAASLoginService log login failures to DEBUG instead of WARN. Same for some other exceptions.
This commit is contained in:
parent
9ab2a96715
commit
207745fdef
|
@ -245,27 +245,32 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService
|
||||||
}
|
}
|
||||||
catch (LoginException e)
|
catch (LoginException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.info(e.getMessage());
|
||||||
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
catch (UnsupportedCallbackException e)
|
catch (UnsupportedCallbackException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.info(e.getMessage());
|
||||||
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
catch (InstantiationException e)
|
catch (InstantiationException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.info(e.getMessage());
|
||||||
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
catch (IllegalAccessException e)
|
catch (IllegalAccessException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.info(e.getMessage());
|
||||||
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
catch (ClassNotFoundException e)
|
catch (ClassNotFoundException e)
|
||||||
{
|
{
|
||||||
LOG.warn(e);
|
LOG.info(e.getMessage());
|
||||||
|
LOG.debug(e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue