@Configuration
@EnableWebSecurity
@EnableMethodSecurity
public class SecurityConfig
extends Object
-
Constructor Summary
Constructors
-
Method Summary
org.springframework.security.web.SecurityFilterChain
filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
- Throws:
Exception
-
isAdmin
public boolean isAdmin(String email)