Skip to content

Instantly share code, notes, and snippets.

@thaylongs
Created May 12, 2016 14:05
Show Gist options
  • Save thaylongs/f09fe677a4f6867d186233b82a3872ee to your computer and use it in GitHub Desktop.
Save thaylongs/f09fe677a4f6867d186233b82a3872ee to your computer and use it in GitHub Desktop.
[main]
builtInCacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $builtInCacheManager
myRealm = br.edu.uft.generic.web.security.SecurityAuth
anyroles = br.edu.uft.generic.web.security.AnyRolesAuthorizationFilter
shiro.loginUrl = /index.xhtml
[urls]
/javax.faces.resource/** = anon
/resources/** = anon
/services/** = anon
/newaccount.xhtml = anon
/recoveraccount.jsf = anon
/index.xhtml = anon
/** = anyroles["usuario, administrador"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment