Hỏi & Đáp
주의! WebSecurityConfigurerAdapter deprecated
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당
- Lượt thích
- 15
- Số bình luận
- 8
- Lượt xem
- 4604
Hỏi & Đáp
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당