Package edu.ucsb.cs156.organic.config
Class SecurityConfig
java.lang.Object
edu.ucsb.cs156.organic.config.SecurityConfig
This class is used to configure Spring Security.
 
 Among other things, this class is partially responsible for
 the implementation of the ADMIN_GITHUB_LOGINS feature.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChainfilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) booleanupdateAdmin(String githubLogin) 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() - 
updateAdmin
 
 -