Ignore:
Timestamp:
02/28/23 13:25:25 (22 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
1fcb086
Parents:
1b0bd1e
Message:

Update WebSecurityConfig.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/config/WebSecurityConfig.java

    r1b0bd1e rf214198  
    3232        http.csrf().disable()
    3333                .authorizeRequests()
     34<<<<<<< Updated upstream
    3435                .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()
     36=======
     37                .antMatchers("/","/finishRegister","/registerWorker","/films","/home/projections","/home/events","/home/getProjections/**","/home/films","/home/getFilm/**","/getFilm/**","/home/getEvent/**","/getEvent/**","redirect:/login","/login","/events","/projections" ,"/home", "/assets/**", "/register", "/api/**").permitAll()
     38>>>>>>> Stashed changes
    3539                .antMatchers("/home/getSeats/**","/myTickets","/home/addInterestedEvent/**","/home/deleteInterestedEvent/**","/home/addRating/**","/addRating/**","/getProjection/**","/home/makeReservation","/profileUser").hasRole("USER")
    3640                .antMatchers("/**").hasRole("ADMIN")
Note: See TracChangeset for help on using the changeset viewer.