Class AadResourceServerWebSecurityConfigurerAdapter
java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
com.azure.spring.cloud.autoconfigure.aad.AadResourceServerWebSecurityConfigurerAdapter
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<jakarta.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>
- Direct Known Subclasses:
AadResourceServerConfiguration.DefaultAadResourceServerWebSecurityConfigurerAdapter
public abstract class AadResourceServerWebSecurityConfigurerAdapter
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Abstract configuration class, used to make JwtConfigurer and AADJwtBearerTokenAuthenticationConverter take effect.
- See Also:
-
WebSecurityConfigurerAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configure
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) configureMethods 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
-
Constructor Details
-
AadResourceServerWebSecurityConfigurerAdapter
public AadResourceServerWebSecurityConfigurerAdapter()
-
-
Method Details
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception configure- Overrides:
configure
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Parameters:
http
- theHttpSecurity
to use- Throws:
Exception
- Configuration failed
-