shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bas Ven (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-610) Incorrect filterchainResolver in 1.4.0-RC2
Date Fri, 21 Sep 2018 15:04:00 GMT

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

Bas Ven commented on SHIRO-610:
-------------------------------

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)

Mime
View raw message