Announcement Announcement Module
Collapse
No announcement yet.
Spring Roo: validation and spring security Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X