Package spring.security
Class BasicSecurityConfig
java.lang.Object
spring.security.BasicSecurityConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final CustomFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureGlobal
(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) org.springframework.security.web.SecurityFilterChain
filterChainBasic
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) org.springframework.security.crypto.password.PasswordEncoder
-
Field Details
-
BASIC_REALM
- See Also:
-
BASIC_USERNAME
- See Also:
-
BASIC_PASSWORD
- See Also:
-
FILTER
-
-
Constructor Details
-
BasicSecurityConfig
public BasicSecurityConfig()
-
-
Method Details
-
passwordEncoder
@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder() -
configureGlobal
@Autowired public void configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws Exception - Throws:
Exception
-
filterChainBasic
@Bean public org.springframework.security.web.SecurityFilterChain filterChainBasic(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-