Hi, Wich version of Shiro are you using?
Any chance to share your project? regards, François [email protected] Le 12/11/2019 à 20:15, wprioriello a écrit : > I have a class "ShiroRealm" which extends AuthenticatingRealm. This is my > realm class definition > > The following is my ini file: > [main] > defaultrealm = argon.admin.security.authentication.shiro.ShiroRealm > securityManager.realm = $defaultrealm > > When I try to start my application I get an error that can be summed up as > the following: > Caused by: java.lang.IllegalArgumentException: Cannot invoke > org.apache.shiro.mgt.RealmSecurityManager.setRealm on bean class 'class > org.apache.shiro.web.mgt.DefaultWebSecurityManager' - argument type mismatch > - had objects of type > \"*argon.admin.security.authentication.shiro.ShiroRealm*\" but expected > signature \"*org.apache.shiro.realm.Realm*\" > > Which makes no sense because ShiroRealm extends AuthenticatingRealm and one > of its superclasses obviously implements the Realm interface > > I've been struggling with this for days. Please let me know if anyone knows > what the issue is or if you need additional information. > > Thanks! > > > > -- > Sent from: http://shiro-developer.582600.n2.nabble.com/
