-
Jan 6th, 2013, 05:03 AM
#1
Spring Roo: validation and spring security
Hi,
in my entity I have the password field annotated with @ Size (min = 8, max = 50) and the validation works fine. In fact, my purpose is not to allow password greater than 50 characters and less than 8. The approach does not work when I introduce spring security, for example, to save the password databases in sha-256, in fact the password field is created VARCHAR (50), but encrypt sha-256 produces a string 64 characters long. I've also tried to add the annotation @ Column (length = 64) but is ingorata. In this scenario, can I take this approach?
Thank you very much.
Lorenzo
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules