public class OpenAMClientAuthenticationFailureFactory extends ClientAuthenticationFailureFactory
Constructor and Description |
---|
OpenAMClientAuthenticationFailureFactory(RealmNormaliser realmNormaliser)
Creates the factory, and sets the realm normaliser
|
Modifier and Type | Method and Description |
---|---|
protected String |
getRealm(OAuth2Request request)
Extracts the realm from the request, and normalises it
|
protected boolean |
hasAuthorizationHeader(OAuth2Request request)
Determines whether the request makes use of the authorization header
|
getException, getException, getException
@Inject public OpenAMClientAuthenticationFailureFactory(RealmNormaliser realmNormaliser)
realmNormaliser
- An object used for normalising realms extracted from requestsprotected boolean hasAuthorizationHeader(OAuth2Request request)
ClientAuthenticationFailureFactory
hasAuthorizationHeader
in class ClientAuthenticationFailureFactory
request
- The request to examineprotected String getRealm(OAuth2Request request)
ClientAuthenticationFailureFactory
getRealm
in class ClientAuthenticationFailureFactory
request
- The request to examineCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.