Class OauthPasswordAuthenticationProvider

    • Constructor Detail

      • OauthPasswordAuthenticationProvider

        public OauthPasswordAuthenticationProvider​(TokenEndpointClient tokenEndpointClient,
                                                   OauthClientConfiguration clientConfiguration,
                                                   OauthUserDetailsMapper userDetailsMapper)
        Parameters:
        tokenEndpointClient - The token endpoint client
        clientConfiguration - The client configuration
        userDetailsMapper - The user details mapper
    • Method Detail

      • getTokenEndpoint

        protected SecureEndpoint getTokenEndpoint​(OauthClientConfiguration clientConfiguration)
        Builds the secure endpoint from the client configuration
        Parameters:
        clientConfiguration - The client configuration
        Returns:
        The token endpoint