AADWebSecurityConfigurerAdapter (Azure SDK for Java Reference Documentation)
Emma Terry
Published Feb 16, 2026
- java.lang.Object
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- com.azure.spring.aad.webapp.AADWebSecurityConfigurerAdapter
- All Implemented Interfaces:
- org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,T>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
- Direct Known Subclasses:
- AADWebAppConfiguration.DefaultAADWebSecurityConfigurerAdapter
public abstract class AADWebSecurityConfigurerAdapterextends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterAbstract configuration class, used to make AzureClientRegistrationRepository and AuthzCodeGrantRequestEntityConverter take effect.
Field Summary
Constructor Summary
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest>accessTokenResponseClient()protected voidconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)protected org.springframework.security.web.authentication.logout.LogoutSuccessHandleroidcLogoutSuccessHandler()protected org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestResolverrequestResolver()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
Constructor Detail
Method Detail
Copyright © 2021 Microsoft Corporation. All rights reserved.