Changeset b738035 for trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConfig.java
- Timestamp:
- 01/24/22 21:08:32 (3 years ago)
- Branches:
- master
- Children:
- 76712b2
- Parents:
- bdd6491
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConfig.java
rbdd6491 rb738035 78 78 .antMatchers("/api/weekend").permitAll() 79 79 .antMatchers("/api/villages").permitAll() 80 .antMatchers("/api/cities").permitAll() 80 81 .anyRequest().authenticated(); 81 82 http.addFilterBefore(jwtAuthenticationFilter(), UsernamePasswordAuthenticationFilter.class);
Note:
See TracChangeset
for help on using the changeset viewer.