• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Can't authenticate with spring security via DB  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was created a simple grails project and add spring security by tutorial (http://grails-plugins.github.io/grails-spring-security-core/guide/single.html#tutorials). I skipped step 7 and 11, because I want store my data, username and password, in DB.

Create simple registration form and action in controller

I changed my domain User

Registration work. In DB user exist - username, email etc. Role and UserRole empty.

When I try logged in I receive error message

Sorry, we were not able to find a user with that username and password.

I can't find how to fix this. Should I write my own action for logging? I read the documentation, but didn't found answers.

Thank you.
Look ma! I'm selling my stuff!
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!