shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nitincn <>
Subject Re: Unable to @Autowire my DAO in a Custom Apache Shiro AuthorizingRealm
Date Tue, 24 Apr 2018 09:56:57 GMT
Hi Brian,

I'm using Shiro 1.4.0 version. Spring version 4.3.3.RELEASE.
I have shiro.INI configuration. I'm not using XML based beans.

I have extended JdbcRealm. In that overriding method doGetAuthorizationInfo.
Inside this method i'm calling userDAO method to get the records from DB.

In my Servlet.xml file, given complete scan <context:component-scan
base-package="****" />

Also, does Shiro not using CDI of spring? How to make DAO @Autowired?


Sent from:

View raw message