Package com.okta.commons.http.authc
Class DisabledAuthenticator
java.lang.Object
com.okta.commons.http.authc.DisabledAuthenticator
- All Implemented Interfaces:
RequestAuthenticator
This
RequestAuthenticator provides a no-op implementation. No authentication is added to requests that use
this implementation.- Since:
- 1.1.0
-
Field Summary
FieldsFields inherited from interface com.okta.commons.http.authc.RequestAuthenticator
AUTHORIZATION_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(Request request) Implementations of this operation will prepare the authentication information as expected by the Okta API server.
-
Field Details
-
AUTHENTICATION_SCHEME
- See Also:
-
-
Constructor Details
-
DisabledAuthenticator
public DisabledAuthenticator()
-
-
Method Details
-
authenticate
Description copied from interface:RequestAuthenticatorImplementations of this operation will prepare the authentication information as expected by the Okta API server.- Specified by:
authenticatein interfaceRequestAuthenticator- Parameters:
request- the request that will be sent to Okta API server, it shall be modified by the implementating classes in order to insert here the authentication information- Throws:
RequestAuthenticationException- when the authentication request cannot be created
-