bdemers commented on a change in pull request #316:
URL: https://github.com/apache/shiro/pull/316#discussion_r691462174



##########
File path: 
support/spring/src/main/java/org/apache/shiro/spring/web/ShiroFilterFactoryBean.java
##########
@@ -354,7 +354,7 @@ public void setGlobalFilters(List<String> globalFilters) {
      * @return the application's Shiro Filter instance used to filter incoming 
web requests.
      * @throws Exception if there is a problem creating the {@code Filter} 
instance.
      */
-    public Object getObject() throws Exception {
+    public AbstractShiroFilter getObject() throws Exception {

Review comment:
       @xczs666 Thinking about this again, for the 1.x line of Shiro. could we 
revert lines 357 and 120.  I'm guessing that line 370 is all that's needed?
   
   That said, I wasn't able to reproduce the original issue to test it out 
either way.  Do you have a simple example project that demos the problem?  From 
there we should be able write a quick test around the problem.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to