This tutorial describes the usage and importance of Spring security with lots of examples.
Spring Security is a framework that provides authentication, authorization, and protection against common attacks. With first-class support for both imperative and reactive applications, it is the de-facto standard for securing Spring-based applications.
Hi Ramesh, Kundan Here
ReplyDeleteI followed your tutorial for Spring Security Hibernate Database Authentication - UserDetailsService.I followed the exactly same step that you followed in your you tube channels and java guides blogs. I faced one exception which is "org.springframework.security.authentication.InternalAuthenticationServiceException: query did not return a unique result: 3; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 3". I am providing the right user name & password in jsp login page but the login page is fetching the error message "invalid user name & password".Please ramesh help me.looking for your reply.
if you dont mind I can share my code to your gmail account
ReplyDelete