Revert "Make JAASLoginService log LoginExceptions in DEBUG only and other exceptions in info"
This reverts commit a822cde5e9
.
This commit is contained in:
parent
a822cde5e9
commit
795720759c
|
@ -209,7 +209,7 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService
|
|||
}
|
||||
else if (callback instanceof RequestParameterCallback)
|
||||
{
|
||||
HttpChannel channel = HttpChannel.getCurrentHttpChannel();
|
||||
HttpChannel channel = HttpChannel.getCurrentHttpChannel();
|
||||
|
||||
if (channel == null)
|
||||
return;
|
||||
|
@ -245,14 +245,29 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService
|
|||
|
||||
return _identityService.newUserIdentity(subject,userPrincipal,getGroups(subject));
|
||||
}
|
||||
catch (LoginException | UnsupportedCallbackException e)
|
||||
catch (LoginException e)
|
||||
{
|
||||
LOG.debug(e);
|
||||
LOG.warn(e);
|
||||
}
|
||||
catch (IOException | InstantiationException | IllegalAccessException | ClassNotFoundException e)
|
||||
catch (IOException e)
|
||||
{
|
||||
LOG.info(e.getMessage());
|
||||
LOG.debug(e);
|
||||
LOG.warn(e);
|
||||
}
|
||||
catch (UnsupportedCallbackException e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
catch (InstantiationException e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
LOG.warn(e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue