Changeset 01a1ca6 for src/main/java/com/example/moviezone/config
- Timestamp:
- 02/10/23 00:10:41 (21 months ago)
- Branches:
- master
- Children:
- 73f0dbc
- Parents:
- 5444409
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
r5444409 r01a1ca6 32 32 http.csrf().disable() 33 33 .authorizeRequests() 34 .antMatchers("/","/**","/home/getFilm/**","/films","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll() 35 .antMatchers("/admin/**").hasRole("ADMIN") 34 .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/getFilm/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll() 35 .antMatchers("/home/getSeats/**","/myTickets","/getProjection/**","/home/makeReservation").hasRole("USER") 36 .antMatchers("/**").hasRole("ADMIN") 36 37 .anyRequest() 37 38 .authenticated()
Note:
See TracChangeset
for help on using the changeset viewer.