public class DefaultRequestAuthenticatorFactory extends Object implements RequestAuthenticatorFactory
RequestAuthenticator
out of a given AuthenticationScheme
This implementation returns a SswsAuthenticator
when the authentication scheme is undefined.
Constructor and Description |
---|
DefaultRequestAuthenticatorFactory() |
Modifier and Type | Method and Description |
---|---|
com.okta.commons.http.authc.RequestAuthenticator |
create(AuthenticationScheme scheme,
ClientCredentials clientCredentials)
Creates a
RequestAuthenticator out of the given AuthenticationScheme . |
public com.okta.commons.http.authc.RequestAuthenticator create(AuthenticationScheme scheme, ClientCredentials clientCredentials)
RequestAuthenticator
out of the given AuthenticationScheme
.create
in interface RequestAuthenticatorFactory
scheme
- the authentication scheme enum defining the request authenticator to be createdCopyright © 2017–2023 Okta. All rights reserved.