Q&A
주의! WebSecurityConfigurerAdapter deprecated
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당
- いいね数
- 15
- コメント数
- 8
- 閲覧数
- 4604
Q&A
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당