@Singleton public class ResourceOwnerAuthenticator extends Object
Constructor and Description |
---|
ResourceOwnerAuthenticator(RealmNormaliser realmNormaliser)
Constructs a new OpenAMResourceOwnerAuthenticator.
|
Modifier and Type | Method and Description |
---|---|
ResourceOwner |
authenticate(OAuth2Request request)
Authenticates a resource owner by extracting the resource owner's credentials from the request and authenticating
against the OAuth2 provider's internal user store.
|
@Inject public ResourceOwnerAuthenticator(RealmNormaliser realmNormaliser)
realmNormaliser
- An instance of the RealmNormaliser.public ResourceOwner authenticate(OAuth2Request request) throws NotFoundException
request
- The OAuth2 request.null
if authentication failed.NotFoundException
- if the requested realm doesn't existCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.