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.

Reply via email to