Class DisabledAuthenticator

java.lang.Object
com.okta.commons.http.authc.DisabledAuthenticator
All Implemented Interfaces:
RequestAuthenticator

public class DisabledAuthenticator extends Object implements RequestAuthenticator
This RequestAuthenticator provides a no-op implementation. No authentication is added to requests that use this implementation.
Since:
1.1.0
  • Field Details

  • Constructor Details

    • DisabledAuthenticator

      public DisabledAuthenticator()
  • Method Details

    • authenticate

      public void authenticate(Request request) throws RequestAuthenticationException
      Description copied from interface: RequestAuthenticator
      Implementations of this operation will prepare the authentication information as expected by the Okta API server.
      Specified by:
      authenticate in interface RequestAuthenticator
      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