Posted By

lucastex on 03/18/09


Tagged

groovy grails acegi securityconfig


Versions (?)

Final SecurityConfig.groovy


 / Published in: Groovy
 

  1. security {
  2.  
  3. // see DefaultSecurityConfig.groovy for all settable/overridable properties
  4.  
  5. active = true
  6.  
  7. loginUserDomainClass = "User"
  8. authorityDomainClass = "Role"
  9. requestMapClass = "RequestMap"
  10.  
  11. useRequestMapDomainClass = false
  12.  
  13. requestMapString = """
  14. CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
  15. PATTERN_TYPE_APACHE_ANT
  16. /user/create=ROLE_ADMIN
  17. /user/edit=ROLE_ADMIN
  18. /user/save=ROLE_ADMIN
  19. /user/list=ROLE_ADMIN, ROLE_USER
  20. """
  21. }

Report this snippet  

You need to login to post a comment.