질문&답변
주의! WebSecurityConfigurerAdapter deprecated
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당
- 좋아요수
- 15
- 댓글수
- 8
- 조회수
- 4625
질문&답변
authorizeRequests() 쓰지말라고 밑줄 나오시는분들 authorizeHttpRequests() 쓰면 되고 antMatchers() 대신에 requestMatchers() 쓰면 됩니다 access() 대신에 hasAnyRole() 쓰면 됩니당