# ======================= # Shiro INI configuration # http://incubator.apache.org/shiro/configuration.html # ======================= [main] # Objects and their properties are defined here, # Such as the securityManager, Realms and anything # else needed to build the SecurityManager #Configure realm in tapestry ioc #realm = org.tynamo.shiro.extension.realm.text.ExtendedPropertiesRealm #realm.resourcePath = classpath:users.properties ##HashtableCacheManager for ExtendedPropertiesRealm set by default #cacheManager = org.shiro.cache.HashtableCacheManager #realm.cacheManager = $cacheManager [users] # The 'users' section is for simple deployments # when you only need a small number of statically-defined # set of User accounts. [roles] # The 'roles' section is for simple deployments # when you only need a small number of statically-defined # roles. [filters] ##Override authc filter instead of FormAuthenticationFilter #authc = org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter #security.loginUrl = /shiro/Login #security.successUrl = /Index #security.unauthorizedUrl = /shiro/Unauthorized [urls] /authc/signup = anon /authc/** = authc /user/signup = anon /user/** = user /roles/user/** = roles[user] /roles/manager/** = roles[manager] /perms/view/** = perms[news:view] /perms/edit/** = perms[news:edit]