Class SecurityConfig

java.lang.Object
deu.cse.spring_webmail.configuration.SecurityConfig

@Configuration @EnableWebSecurity @EnableMethodSecurity(securedEnabled=true) public class SecurityConfig extends Object
보안 설정을 위한 클래스
  • Field Details

    • userService

      private UserService userService
      UserService 객체 필드
  • Constructor Details

    • SecurityConfig

      public SecurityConfig()
  • Method Details

    • filterChain

      @Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      보안 필터 체인을 생성합니다.
      Parameters:
      http - HttpSecurity 객체
      Returns:
      SecurityFilterChain 객체
      Throws:
      Exception - 예외