Spring Security User Registration with Hibernate and Thymeleaf

You may also like...

Leave a Reply

6 Comments on "Spring Security User Registration with Hibernate and Thymeleaf"

avatar
  Subscribe  
newest oldest
Notify of
Kirill Melnik
Guest
Kirill Melnik

Hi, hove to set

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

Kirill Melnik
Guest
Kirill Melnik

mm i’m resolved this problem

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

ovidiu ppp
Guest
ovidiu ppp

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