Class AadResourceServerConfiguration.DefaultAadResourceServerWebSecurityConfigurerAdapter

java.lang.Object
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
com.azure.spring.cloud.autoconfigure.aad.AadResourceServerWebSecurityConfigurerAdapter
com.azure.spring.cloud.autoconfigure.aad.configuration.AadResourceServerConfiguration.DefaultAadResourceServerWebSecurityConfigurerAdapter
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>
Enclosing class:
AadResourceServerConfiguration

@EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled=true) @ConditionalOnMissingBean(org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.class) @ConditionalOnExpression("!\'${spring.cloud.azure.active-directory.application-type}\'.equalsIgnoreCase(\'web_application_and_resource_server\')") public static class AadResourceServerConfiguration.DefaultAadResourceServerWebSecurityConfigurerAdapter extends AadResourceServerWebSecurityConfigurerAdapter
Default configuration class for using AAD authentication and authorization. User can write another configuration bean to override it.
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    configure

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultAadResourceServerWebSecurityConfigurerAdapter

      public DefaultAadResourceServerWebSecurityConfigurerAdapter()
  • Method Details