[main] jdbcRealm=org.apache.shiro.realm.jdbc.JdbcRealm jdbcRealm.authenticationQuery = SELECT password from auth_user where username = ? jdbcRealm.userRolesQuery = select role from auth_userroles where userID = (select id FROM auth_user WHERE username = ?) ds = com.mysql.jdbc.jdbc2.optional.MysqlDataSource ds.serverName = 146.48.81.39 ds.user = nino ds.password = ..nino123 ds.databaseName = weboffice jdbcRealm.dataSource= $ds authc.loginUrl = /login.xhtml builtInCacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager securityManager.cacheManager = $builtInCacheManager [urls] /login.xhtml = authc /logout = logout /admin/** = user, roles[admin] /rest/** = user, roles[admin] #/rest/** = authc