Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
HunSeongPark committed Feb 24, 2024
1 parent a464e06 commit 2dcd700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
.authorizeHttpRequests(auth -> {
auth.requestMatchers(PathRequest.toStaticResources().atCommonLocations()).permitAll()
.mvcMatchers("/swagger-ui/**", "/v3/api-docs/**", "/actuator/**", "/terms/**").permitAll();
.mvcMatchers("/swagger-ui/**", "/v3/api-docs/**", "/actuator/**", "/terms3/**").permitAll();
Arrays.stream(AUTH_WHITE_LIST)
.forEach(authWhiteListElem ->
auth.mvcMatchers(BASE_URL + authWhiteListElem).permitAll());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@Controller
public class TermsController {

@GetMapping("/terms")
@GetMapping("/terms3")
public String terms() {
return "terms";
}
Expand Down

0 comments on commit 2dcd700

Please sign in to comment.