You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by baczek00 <ba...@poczta.fm> on 2015/01/18 19:02:57 UTC
Shiro DataSet Connection Sharing
Hello,
Connect to the database using the user reads the JDBC Realm.
But how to make the connection created by Shiro other classes?
My shiro.ini file:
[main]
jdbcRealm = org.apache.shiro.realm.jdbc.JdbcRealm
jdbcRealm.permissionsLookupEnabled = true
securityManager.realms = $jdbcRealm
ds = org.apache.commons.dbcp2.BasicDataSource
ds.driverClassName = org.firebirdsql.jdbc.FBDriver
ds.url = jdbc:firebirdsql://127.0.0.1/C:/WebSKS.FDB
ds.username = SYSDBA
ds.password = masterkey
jdbcRealm.dataSource=$ds
Regards
--
View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-DataSet-Connection-Sharing-tp7580413.html
Sent from the Shiro User mailing list archive at Nabble.com.