Package com.chutneytesting.security
Class ChutneyHttpSecurityConfig
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- com.chutneytesting.security.ChutneyHttpSecurityConfig
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>,org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration public class ChutneyHttpSecurityConfig extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTUATOR_BASE_URL_PATTERNstatic StringAPI_BASE_URL_PATTERNstatic StringLOGIN_URLstatic StringLOGOUT_URL
-
Constructor Summary
Constructors Constructor Description ChutneyHttpSecurityConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserDtoanonymous()protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)protected voidconfigureBaseHttpSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http)-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Field Detail
-
LOGIN_URL
public static final String LOGIN_URL
- See Also:
- Constant Field Values
-
LOGOUT_URL
public static final String LOGOUT_URL
- See Also:
- Constant Field Values
-
API_BASE_URL_PATTERN
public static final String API_BASE_URL_PATTERN
- See Also:
- Constant Field Values
-
ACTUATOR_BASE_URL_PATTERN
public static final String ACTUATOR_BASE_URL_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception- Overrides:
configurein classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter- Throws:
Exception
-
configureBaseHttpSecurity
protected void configureBaseHttpSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception- Throws:
Exception
-
anonymous
protected UserDto anonymous()
-
-