Ignore:
Timestamp:
02/04/23 01:47:15 (22 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
adf250d
Parents:
eb226b2
Message:

First Run No error

File:
1 edited

Legend:

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

    reb226b2 r2269653  
    99import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
    1010import org.springframework.security.crypto.password.PasswordEncoder;
     11import org.springframework.web.servlet.config.annotation.EnableWebMvc;
    1112
    1213
    1314@Configuration
    1415@EnableWebSecurity
     16@EnableWebMvc
    1517@EnableGlobalMethodSecurity(securedEnabled = true, prePostEnabled = true)
    1618public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
     
    4244                .logout()
    4345                .logoutUrl("/logout")
     46                .clearAuthentication(true)
    4447                .invalidateHttpSession(true)
    4548                .deleteCookies("JSESSIONID")
Note: See TracChangeset for help on using the changeset viewer.