Spring Security User Registration with Hibernate and Thymeleaf

You may also like...

Subscribe
Notify of
guest
9 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Kirill Melnik
Kirill Melnik
January 15, 2018 22:32

Hi, hove to set

.antMatchers(“/admin/**”).hasAuthority(“ROLE_ADMIN”)?
this parametr ignoring in you code

Kirill Melnik
Kirill Melnik
January 15, 2018 22:53
Reply to  Kirill Melnik

mm i’m resolved this problem

.antMatchers(“/admin/**”).access(“hasAnyAuthority(‘ADMIN’)”)

ovidiu ppp
ovidiu ppp
February 13, 2018 19:44

HI, Thank you for the tutorial. I have only one question. What is the username that has to be introduced on the login screen?

ovidiu ppp
ovidiu ppp
February 14, 2018 15:42
Reply to  MemoryNotFound

I asked this because I always get wrong username or password when I try to login, the registration works just fine, and I can see the entry in the database.

kanishdan
kanishdan
September 24, 2019 05:04
Reply to  MemoryNotFound

how it will check the stored username and password when login ; because hashing is one-way method so we can’t decode.

kanishdan
kanishdan
September 24, 2019 05:05

how it will check the stored username and password when login ; because hashing is one-way method so we can’t decode.

9
0
Would love your thoughts, please comment.x
()
x