Class OAuth2AuthenticationStrategy

    • Constructor Detail

      • OAuth2AuthenticationStrategy

        public OAuth2AuthenticationStrategy​(@NonNull
                                            org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper,
                                            @NonNull
                                            org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient<org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
    • Method Detail

      • configureAuthentication

        public org.springframework.security.config.annotation.web.builders.HttpSecurity configureAuthentication​(@NonNull
                                                                                                                org.springframework.security.config.annotation.web.builders.HttpSecurity http,
                                                                                                                @Nullable
                                                                                                                org.springframework.security.authentication.AuthenticationManager authenticationManager)
                                                                                                         throws Exception
        Specified by:
        configureAuthentication in interface AuthenticationStrategy
        Throws:
        Exception