You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Bas Ven (JIRA)" <ji...@apache.org> on 2018/09/21 15:05:00 UTC
[jira] [Comment Edited] (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=16623746#comment-16623746 ]
Bas Ven edited comment on SHIRO-610 at 9/21/18 3:04 PM:
--------------------------------------------------------
Upgrading from 1.2.4 to 1.4.0 gives me a null pointer exception at:
Factory<FilterChainResolver> factory = (Factory<FilterChainResolver>) this.objects.get(FILTER_CHAIN_RESOLVER_NAME);
In IniWebEnvironment. Our shiro.ini file has no entry for a default chain resolver.
Upgrading to 1.3.2 does have one.
was (Author: basven):
Upgrading from 1.2.4 to 1.4.0 gives me a null pointer exception at:
Factory<FilterChainResolver> factory = (Factory<FilterChainResolver>) this.objects.get(FILTER_CHAIN_RESOLVER_NAME);
In IniWebEnvironment. Our shiro.ini file has no entry for a default chain resolver.
> 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
> 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
(v7.6.3#76005)