Package com.okta.spring.example
Class OAuth2SecurityConfigurerAdapter
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- com.okta.spring.example.OAuth2SecurityConfigurerAdapter
-
- 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 OAuth2SecurityConfigurerAdapter extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description OAuth2SecurityConfigurerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.authentication.AuthenticationManager
authenticationManagerBean()
protected void
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
CustomAuthenticationProcessingFilter
customAuthenticationProcessingFilter()
-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Method Detail
-
authenticationManagerBean
@Bean public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean() throws java.lang.Exception
- Overrides:
authenticationManagerBean
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
java.lang.Exception
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
- Overrides:
configure
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
java.lang.Exception
-
customAuthenticationProcessingFilter
@Bean public CustomAuthenticationProcessingFilter customAuthenticationProcessingFilter() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-