Class OAuth2LoginAuthenticationFilter

    • Field Detail

      • DEFAULT_FILTER_PROCESSES_URI

        public static final java.lang.String DEFAULT_FILTER_PROCESSES_URI
        The default URI where this Filter processes authentication requests.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OAuth2LoginAuthenticationFilter

        public OAuth2LoginAuthenticationFilter​(ClientRegistrationRepository clientRegistrationRepository,
                                               OAuth2AuthorizedClientService authorizedClientService)
        Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
        Parameters:
        clientRegistrationRepository - the repository of client registrations
        authorizedClientService - the authorized client service
      • OAuth2LoginAuthenticationFilter

        public OAuth2LoginAuthenticationFilter​(ClientRegistrationRepository clientRegistrationRepository,
                                               OAuth2AuthorizedClientService authorizedClientService,
                                               java.lang.String filterProcessesUrl)
        Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
        Parameters:
        clientRegistrationRepository - the repository of client registrations
        authorizedClientService - the authorized client service
        filterProcessesUrl - the URI where this Filter will process the authentication requests
      • OAuth2LoginAuthenticationFilter

        public OAuth2LoginAuthenticationFilter​(ClientRegistrationRepository clientRegistrationRepository,
                                               OAuth2AuthorizedClientRepository authorizedClientRepository,
                                               java.lang.String filterProcessesUrl)
        Constructs an OAuth2LoginAuthenticationFilter using the provided parameters.
        Parameters:
        clientRegistrationRepository - the repository of client registrations
        authorizedClientRepository - the authorized client repository
        filterProcessesUrl - the URI where this Filter will process the authentication requests
        Since:
        5.1