Changeset 1b0bd1e for src/main/java/com/example
- Timestamp:
- 02/28/23 13:12:44 (22 months ago)
- Branches:
- master
- Children:
- f214198
- Parents:
- 11d7b36
- Location:
- src/main/java/com/example/moviezone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
r11d7b36 r1b0bd1e 32 32 http.csrf().disable() 33 33 .authorizeRequests() 34 .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/ api/**").permitAll()34 .antMatchers("/","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/registerWorker","/api/**").permitAll() 35 35 .antMatchers("/home/getSeats/**","/myTickets","/home/addInterestedEvent/**","/home/deleteInterestedEvent/**","/home/addRating/**","/addRating/**","/getProjection/**","/home/makeReservation","/profileUser").hasRole("USER") 36 36 .antMatchers("/**").hasRole("ADMIN") -
src/main/java/com/example/moviezone/model/Customer.java
r11d7b36 r1b0bd1e 27 27 public Customer(String password, String first_name, String last_name, String address, String contact_number, String username) { 28 28 super(password, first_name, last_name, address, contact_number, username); 29 points=0; 29 30 } 30 31
Note:
See TracChangeset
for help on using the changeset viewer.