Can you provide more details on your environment? Version of Shiro, Spring, etc Are you using XML based beans?
Take a look at this example if you haven't already: https://github.com/apache/shiro/blob/master/samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/security/SampleRealm.java On Sat, Apr 21, 2018 at 10:53 AM, nitincn <[email protected]> wrote: > Hi, > > I'm facing issue with @Autowire my DAO which is null during execution of > Custom Apache Shiro AuthorizingRealm. In this DAO i'm getting roles and > user's permissions to load in authorization context of user. > > I have Shiro.INI file. > In web.xml , i have EnvironmentLoaderListener. > > Can you please help me to fix the issue. > > Thanks > > Nitin C N > > > > > > > -- > Sent from: http://shiro-developer.582600.n2.nabble.com/ >
