Recaptcha Spring Security Plugin
Dependency :
compile ":recaptcha-spring-security:0.1"
Summary
Using recaptcha with spring security core for brute force defender
Installation
grails install-plugin recaptcha-spring-security
Description
Using recaptcha with spring security core for brute force defenderbased in: Brute Force Defendertime = minutes maintaining failed attempts allowedNumberOfAttempts = number of failed attempts before showing the recaptcha widget.
Installation
Add the following to your grails-app/conf/BuildConfig.groovy…
plugins {
…
compile ':recaptcha-spring-security:0.1'
…
}Configuration
Config.groovy
Add the following lines to your Grails Config.groovy file:bruteforcedefender {
time = 5
allowedNumberOfAttempts = 3
}Adding the recaptcha to your auth view
Open your auth.gsp (/grails-app/views/login/auth.gsp) and add the next line wherever you want to render the recaptcha after the attempts.<g:recaptchaLogin/>