##Description Plugin adds functionality of blocking user account after a configured number of failed login, thus countering brute-force attacks. Plugin is working on top of configured Spring Security Core plugin with its UserDetails.
- plugin depents on Spring Security Core plugin
- go to https://github.com/grygoriy/bruteforcedefender/downloads
- download latest version
- use
grails install-plugin <path to file>
- clone repo
git clone https://github.com/grygoriy/bruteforcedefender.git
- build plugin
grails package-plugin
- you should see plugin zip file in plugin directory
- use
grails install-plugin <path to file>
Add to your Config.groovy
next lines
grails.plugins.springsecurity.useSecurityEventListener = true
bruteforcedefender {
time = 5
allowedNumberOfAttempts = 3
}
To enable login add next lines in your Config.groovy
log4j = {
....
environments {
development {
debug 'grails.app.services.com.grygoriy.bruteforcedefender'
}
}
}
Grygoriy Mykhalyuno