In our system, users are never deleted from the database. What we do is to anonymize their information and add a timestamp in the date_delete column.
How do I configure Grails Spring Security to check that a user is not “soft deleted” from the DB?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to implement the
UserDetailsServiceinterface and within theloadUserByUsernamemethod you can customize the way users are located.Refer to the Custom UserDetailsService within the plugin documentation for more information.