You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Telmo Brugnara (Jira)" <ji...@apache.org> on 2020/06/19 03:47: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=17140177#comment-17140177 ]
Telmo Brugnara commented on SHIRO-610:
--------------------------------------
I have the same issue with shiro 1.5.3. In {{IniWebEnvironment.java}}, creating the resolver even if *[urls]* and *[filters]* are missing seems to solve the problem.
The commit bellow does that, I can send a PR if needed
[https://github.com/tbrugz/shiro/commit/a50098c1849be436e077b9ec6ee84d24391bdea7]
> 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
>
> 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
(v8.3.4#803005)