- Timestamp:
- 12/28/21 08:56:55 (3 years ago)
- Branches:
- master
- Children:
- b738035
- Parents:
- 84d0fbb
- Location:
- trip-planner/src/main/java/finki/diplomska/tripplanner/security
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConfig.java
r84d0fbb rbdd6491 76 76 .antMatchers(SIGN_UP_URLS).permitAll() 77 77 .antMatchers(MARIADB_URL).permitAll() 78 .antMatchers("/api/weekend").permitAll() 79 .antMatchers("/api/villages").permitAll() 78 80 .anyRequest().authenticated(); 79 81 http.addFilterBefore(jwtAuthenticationFilter(), UsernamePasswordAuthenticationFilter.class); -
trip-planner/src/main/java/finki/diplomska/tripplanner/security/SecurityConstants.java
r84d0fbb rbdd6491 7 7 public static final String TOKEN_PREFIX= "Bearer "; 8 8 public static final String HEADER_STRING = "Authorization"; 9 public static final long EXPIRATION_TIME = 3000_000; //30 seconds9 public static final long EXPIRATION_TIME = 3000_000; //30 min 10 10 }
Note:
See TracChangeset
for help on using the changeset viewer.