mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-29 07:12:32 +00:00
UnauthenticatedServerOAuth2AuthorizedClientRepository->UnAuthenticatedServerOAuth2AuthorizedClientRepository
Issue: gh-5817
This commit is contained in:
parent
11ea92ef1c
commit
26e577b0fa
@ -35,7 +35,7 @@ import java.util.Map;
|
|||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
public class UnauthenticatedServerOAuth2AuthorizedClientRepository implements ServerOAuth2AuthorizedClientRepository {
|
public class UnAuthenticatedServerOAuth2AuthorizedClientRepository implements ServerOAuth2AuthorizedClientRepository {
|
||||||
private final AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl();
|
private final AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl();
|
||||||
|
|
||||||
private Map<String, OAuth2AuthorizedClient> clientRegistrationIdToAuthorizedClient = new HashMap<>();
|
private Map<String, OAuth2AuthorizedClient> clientRegistrationIdToAuthorizedClient = new HashMap<>();
|
@ -36,9 +36,9 @@ import static org.assertj.core.api.Assertions.*;
|
|||||||
/**
|
/**
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
public class UnauthenticatedServerOAuth2AuthorizedClientRepositoryTests {
|
public class UnAuthenticatedServerOAuth2AuthorizedClientRepositoryTests {
|
||||||
private UnauthenticatedServerOAuth2AuthorizedClientRepository repository =
|
private UnAuthenticatedServerOAuth2AuthorizedClientRepository repository =
|
||||||
new UnauthenticatedServerOAuth2AuthorizedClientRepository();
|
new UnAuthenticatedServerOAuth2AuthorizedClientRepository();
|
||||||
|
|
||||||
private ClientRegistration clientRegistration = TestClientRegistrations.clientCredentials().build();
|
private ClientRegistration clientRegistration = TestClientRegistrations.clientCredentials().build();
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user