forked from basilapi/basil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
basil.ini
34 lines (33 loc) · 1.27 KB
/
basil.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# BASIL Integration Tests Configuration (Local)
basil = io.github.basilapi.basil.server.BasilConfiguration
basil.namespace = http://basilapi.github.io/dev/ns/
basil.tdb2location = ./tdb2basil
#
# MySQL Database
ds = com.mysql.jdbc.jdbc2.optional.MysqlDataSource
ds.serverName = localhost
ds.port = 8889
ds.user = root
ds.password = NMg17ruPknQSC2rF
ds.databaseName = basil
ds.useSSL=false
ds.verifyServerCertificate=false
#
# ------------------------------------------------------
# SHIRO specific (do not touch!)
#
# password matcher
passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
passwordMatcher.passwordService = $passwordService
jdbcRealm = org.apache.shiro.realm.jdbc.JdbcRealm
jdbcRealm.permissionsLookupEnabled = true
jdbcRealm.authenticationQuery = SELECT password FROM users WHERE username = ?
jdbcRealm.userRolesQuery = SELECT role_name FROM users_roles WHERE username = ?
jdbcRealm.credentialsMatcher = $passwordMatcher
jdbcRealm.dataSource=$ds
securityManager.realms = $jdbcRealm
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
#filterChainResolver = org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver