Changeset eb226b2 for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/04/23 00:39:48 (22 months ago)
- Branches:
- master
- Children:
- 2269653
- Parents:
- ac25203
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
rac25203 reb226b2 30 30 http.csrf().disable() 31 31 .authorizeRequests() 32 .antMatchers("/", "/home", "/assets/**", "/register", "/ products", "/api/**").permitAll()32 .antMatchers("/", "/home", "/assets/**", "/register", "/api/**").permitAll() 33 33 .antMatchers("/admin/**").hasRole("ADMIN") 34 34 .anyRequest() … … 42 42 .logout() 43 43 .logoutUrl("/logout") 44 .clearAuthentication(true)45 44 .invalidateHttpSession(true) 46 45 .deleteCookies("JSESSIONID")
Note:
See TracChangeset
for help on using the changeset viewer.