Class AadB2cOidcLoginConfigurer

  • All Implemented Interfaces:
    org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>

    public class AadB2cOidcLoginConfigurer
    extends org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<AadB2cOidcLoginConfigurer,​org.springframework.security.config.annotation.web.builders.HttpSecurity>
    Configure B2C OAUTH2 login properties.
    See Also:
    AbstractHttpConfigurer
    • Method Detail

      • init

        public void init​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                  throws Exception
        Initialize the SecurityBuilder.
        Specified by:
        init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>
        Overrides:
        init in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>
        Parameters:
        http - the http
        Throws:
        Exception - failed to initialize SecurityBuilder
      • accessTokenResponseClient

        protected org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient()
        Gets the access token response client.
        Returns:
        the access token response client