This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Spring Security] SHA-512 , UserDetailService, User - authentication not working

Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Initially I was using SHA-1 + base64 but now I am switched to SHA-512 and NO base64. SHA-512 returns byte[], so my question is Spring's User class constructor is designed to accept ONLY string as password and that is why I can not make user authentication working. The password in DB is stored as blob. DB is MySQL.

Cross Post
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic