I doubt the JDBCRealm is the correct way for shiro to use MongoDB since JDBC is based upon SQL and MongoDB knows nothing about SQL.
For an example about shiro with MongoDB this might be helpful: http://shiro-user.582556.n2.nabble.com/Example-Shiro-MongoDB-Realm-td7579029.html -- View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-with-Mongo-DB-tp7579322p7579330.html Sent from the Shiro User mailing list archive at Nabble.com.
