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/11/21 18:40: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=16979502#comment-16979502 ]
Francois Papon commented on SHIRO-610:
--------------------------------------
[~johndament] [~sredelin] [~bdemers]
I go deeper on this and we have a default filterChain created but I think the problem is that your *shiro.ini* is missing *[urls]* or *[filters]* section and definition:
[https://github.com/apache/shiro/blob/79662c598500cb4908c43eecc44f10fffbe9f8d6/web/src/main/java/org/apache/shiro/web/env/IniWebEnvironment.java#L265|http://example.com]
It's works well with the Shiro sample-web and I can reproduce only by removing the *[urls]* section list
I think we can close this issue.
> 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.5.0
>
>
> 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)