Package edu.ucsb.cs156.courses.config
Class SecurityConfig
java.lang.Object
edu.ucsb.cs156.courses.config.SecurityConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
filterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) boolean
org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer
-
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
-
webSecurityCustomizer
@Bean public org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer webSecurityCustomizer() -
isAdmin
-