Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronzirbes/2604704 to your computer and use it in GitHub Desktop.
Save aaronzirbes/2604704 to your computer and use it in GitHub Desktop.
Grails Spring Security Core
/* From: SpringSecurityCoreGrailsPlugin.groovy */
// make sure the filter chain filter is after the Grails filter
def getWebXmlFilterOrder() {
def FilterManager = getClass().getClassLoader().loadClass('grails.plugin.webxml.FilterManager')
[springSecurityFilterChain: FilterManager.GRAILS_WEB_REQUEST_POSITION + 100]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment