Skip to content

Instantly share code, notes, and snippets.

@danveloper
Created June 18, 2013 17:18
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 danveloper/bc94f74e2d151825c584 to your computer and use it in GitHub Desktop.
Save danveloper/bc94f74e2d151825c584 to your computer and use it in GitHub Desktop.
maybe?
class BootStrap {
def grailsApplication
def init = { servletContext ->
grailsApplication.addArtefact(FiltersConfigArtefactHandler.TYPE, BasicAuthenticationFilter)
org.codehaus.groovy.grails.plugins.web.filters.FiltersGrailsPlugin.reloadFilters grailsApplication, grailsApplication.mainContext
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment