What is the correct way to inject a JndiRealmFactory into the securityManager using the shiro.ini file?
I have tried doing the following in my shiro.ini file realmFactory = org.apache.shiro.realm.jndi.JndiRealmFactory realmFactory.jndiNames = jndiName1, jndiName2, jndiName3 securityManager.realms = $realmFactory The JndiRealmFactory implements the RealmFactory interface whereas securityManager.realms is expecting something that implementes the Realm interface. Many Thanks Paul -- View this message in context: http://shiro-user.582556.n2.nabble.com/How-should-JndiRealmFactory-be-injected-into-the-securityManager-tp7580314.html Sent from the Shiro User mailing list archive at Nabble.com.
