You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Francois Papon (JIRA)" <ji...@apache.org> on 2019/02/26 11:19:00 UTC

[jira] [Commented] (SHIRO-610) Incorrect filterchainResolver in 1.4.0-RC2

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

Francois Papon commented on SHIRO-610:
--------------------------------------

Hi,

As a workaround, you can add this in the *shiro.ini* config file:
{code:java}
filterChainResolver = org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver{code}

Tested with *shiro-1.4.0* and *tomcat-9.x*

[~bdemers] : I think we could add this value by default in the source code. Thoughts?

> Incorrect filterchainResolver in 1.4.0-RC2
> ------------------------------------------
>
>                 Key: SHIRO-610
>                 URL: https://issues.apache.org/jira/browse/SHIRO-610
>             Project: Shiro
>          Issue Type: Bug
>    Affects Versions: 1.4.0-RC2
>            Reporter: John D. Ament
>            Assignee: Francois Papon
>            Priority: Major
>             Fix For: 1.4.1
>
>
> Caused by: org.apache.shiro.env.RequiredTypeException: Object named 'filterChainResolver' is not of required type [org.apache.shiro.web.filter.mgt.FilterChainResolver]
> This happens OOTB when using DefaultWebEnvironment.  The actual type is a IniFilterChainResolverFactory



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)