I am using Apache Shiro in my project. Currently I am using 1.1.0 version and now I am trying to migrate Shiro components to latest version 1.2.1. But when I try to do user authentication against a db it not working for some reason and I am not getting any errors but authentication is not happening.
Following are the database details I had given in shiro.ini file.
[main]
cacheManager = com.cacheManager.ShiroCacheManager
securityManager.cacheManager = $cacheManager
jdbcRealm=org.apache.shiro.realm.jdbc.JdbcRealm
jdbcRealm.authenticationQuery = select user_pass from users where user_name = ?
jdbcRealm.userRolesQuery = select role_name from user_roles where user_name = ?
ds = com.mysql.jdbc.jdbc2.optional.MysqlDataSource
ds.serverName = 192.168.0.75
ds.port = 3306
ds.user = test
ds.databaseName = appfuse
jdbcRealm.dataSource = $ds
But still it is not hitting the database. I am using tomcat server and trying to use guice and shiro integration example...
Any help in this regard is really appreciated and thanks in advance for your help!
Thanks & Regards,
Gupta Katakam