You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Art O Cathain (JIRA)" <ji...@apache.org> on 2013/10/08 10:12:42 UTC

[jira] [Comment Edited] (SHIRO-462) Authentication exceptions are swallowed

    [ https://issues.apache.org/jira/browse/SHIRO-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789030#comment-13789030 ] 

Art O Cathain edited comment on SHIRO-462 at 10/8/13 8:10 AM:
--------------------------------------------------------------

Patch to log at debug level


was (Author: artbristol):
Patch to debug at log level

> Authentication exceptions are swallowed
> ---------------------------------------
>
>                 Key: SHIRO-462
>                 URL: https://issues.apache.org/jira/browse/SHIRO-462
>             Project: Shiro
>          Issue Type: Bug
>          Components: Authentication (log-in)
>    Affects Versions: 1.2.2
>            Reporter: Art O Cathain
>            Priority: Minor
>             Fix For: 1.2.3
>
>         Attachments: SHIRO-462.patch
>
>
> In org.apache.shiro.cas.CasFilter.onLoginFailure(AuthenticationToken, AuthenticationException, ServletRequest, ServletResponse) the passed-in AuthenticationException is not logged anywhere. In my case, a misconfigured SSL certificate error was being swallowed. The lack of logging meant I had to use a debugger to see the exception details.
> There is a similar issue with the other override of this method, in org.apache.shiro.web.filter.authc.FormAuthenticationFilter.
> Suggest logging at debug level (which is off by default in sensible setups, but can be enabled during investigations)



--
This message was sent by Atlassian JIRA
(v6.1#6144)