Skip to content

Instantly share code, notes, and snippets.

@tyama
Created August 17, 2015 06:51
Show Gist options
  • Save tyama/3433e987fb7e31467a28 to your computer and use it in GitHub Desktop.
Save tyama/3433e987fb7e31467a28 to your computer and use it in GitHub Desktop.
//add this to your spring security config.
grails.plugin.springsecurity.rejectIfNoRule = false
grails.plugin.springsecurity.fii.rejectPublicInvocations = false
grails.plugin.springsecurity.ipRestrictions = [
'/shutdown':['127.0.0.1']
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment