Spring Security User Registration with Hibernate and Thymeleaf

You may also like...

6
Leave a Reply

avatar
2 Comment threads
4 Thread replies
2 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
MemoryNotFoundovidiu pppKirill Melnik Recent comment authors
  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?