Searched defs:resourceOwnerAuthenticator (Results 1 - 3 of 3) sorted by relevance

/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DPasswordCredentialsGrantTypeHandler.java46 private final ResourceOwnerAuthenticator resourceOwnerAuthenticator; field in class:PasswordCredentialsGrantTypeHandler
54 * @param resourceOwnerAuthenticator An instance of the ResourceOwnerAuthenticator.
61 ResourceOwnerAuthenticator resourceOwnerAuthenticator,
66 this.resourceOwnerAuthenticator = resourceOwnerAuthenticator;
82 final ResourceOwner resourceOwner = resourceOwnerAuthenticator.authenticate(request, false);
59 PasswordCredentialsGrantTypeHandler(ClientAuthenticator clientAuthenticator, List<PasswordCredentialsRequestValidator> requestValidators, ResourceOwnerAuthenticator resourceOwnerAuthenticator, OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2UrisFactory urisFactory, TokenStore tokenStore) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DPasswordCredentialsGrantTypeHandler.java50 private final ResourceOwnerAuthenticator resourceOwnerAuthenticator; field in class:PasswordCredentialsGrantTypeHandler
58 * @param resourceOwnerAuthenticator An instance of the ResourceOwnerAuthenticator.
65 ResourceOwnerAuthenticator resourceOwnerAuthenticator,
70 this.resourceOwnerAuthenticator = resourceOwnerAuthenticator;
86 final ResourceOwner resourceOwner = resourceOwnerAuthenticator.authenticate(request);
63 PasswordCredentialsGrantTypeHandler(ClientAuthenticator clientAuthenticator, List<PasswordCredentialsRequestValidator> requestValidators, ResourceOwnerAuthenticator resourceOwnerAuthenticator, OAuth2ProviderSettingsFactory providerSettingsFactory, OAuth2UrisFactory urisFactory, TokenStore tokenStore) argument
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/test/java/org/forgerock/oauth2/core/
H A DPasswordCredentialsGrantTypeHandlerTest.java42 private ResourceOwnerAuthenticator resourceOwnerAuthenticator; field in class:PasswordCredentialsGrantTypeHandlerTest
55 resourceOwnerAuthenticator = mock(ResourceOwnerAuthenticator.class);
61 resourceOwnerAuthenticator, providerSettingsFactory, urisFactory, tokenStore);
83 given(resourceOwnerAuthenticator.authenticate(request, false)).willReturn(resourceOwner);
113 given(resourceOwnerAuthenticator.authenticate(request, false)).willReturn(resourceOwner);
136 given(resourceOwnerAuthenticator.authenticate(request, false)).willReturn(resourceOwner);
172 given(resourceOwnerAuthenticator.authenticate(request, false)).willReturn(resourceOwner);

Completed in 22 milliseconds