shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nitincn <niti...@gmail.com>
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?

Thanks








--
Sent from: http://shiro-developer.582600.n2.nabble.com/

Mime
View raw message