zdesam
zdesam

Reputation: 2986

Grails Spring Security Pre Check Plain password before authentication

I am using a grails spring security core 1.2.7.3 plugin for user login. Now I have a requirement where I need to do a password check before authentication.

When user enters username and password in the login form and submit, I need to have the access to username and plain password entered and do a custom check on the password and do a redirect if the password doesn't match the required pattern, otherwise continue as normal.

Upvotes: 0

Views: 188

Answers (1)

Mauri Lopez
Mauri Lopez

Reputation: 2894

Whats the custom check?? Spring security lets you define a RegEx for your passwords... why dont you use that?

Upvotes: 0

Related Questions