Changeset 76712b2 for trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConfig.java
- Timestamp:
- 01/28/22 18:45:54 (3 years ago)
- Branches:
- master
- Children:
- 6fe77af
- Parents:
- b738035
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConfig.java
rb738035 r76712b2 79 79 .antMatchers("/api/villages").permitAll() 80 80 .antMatchers("/api/cities").permitAll() 81 .antMatchers("/api/all").permitAll() 82 .antMatchers("/api/places").permitAll() 81 83 .anyRequest().authenticated(); 82 84 http.addFilterBefore(jwtAuthenticationFilter(), UsernamePasswordAuthenticationFilter.class);
Note:
See TracChangeset
for help on using the changeset viewer.