Changed shiro to use datasource instead of direct jdbc connection