Skip to content

Commit 19d23f1

Browse files
authored
Merge pull request #13 from codej99/feature/security
Feature/security
2 parents 1eb3fe7 + 49a244c commit 19d23f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rest/api/config/security/SecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected void configure(HttpSecurity http) throws Exception {
3333
.authorizeRequests() // 다음 리퀘스트에 대한 사용권한 체크
3434
.antMatchers("/*/signin", "/*/signin/**", "/*/signup", "/*/signup/**", "/social/**").permitAll() // 가입 및 인증 주소는 누구나 접근가능
3535
.antMatchers(HttpMethod.GET, "/helloworld/**").permitAll() // hellowworld로 시작하는 GET요청 리소스는 누구나 접근가능
36-
.anyRequest().hasRole("USER") // 그외 나머지 요청은 모두 인증된 회원만 접근 가능
36+
.anyRequest().hasRole("USER") // 그외 나머지 요청은 모두 인증된 회원만 접근 가능
3737
.and()
3838
.exceptionHandling().accessDeniedHandler(new CustomAccessDeniedHandler())
3939
.and()

0 commit comments

Comments
 (0)