Class ClientAuthMethod

java.lang.Object
io.deephaven.enterprise.auth.ClientAuthMethod

public abstract class ClientAuthMethod extends Object
A base class for enabling alternate means of confirming identity to the authentication server.
  • Field Details

    • log

      protected final com.fishlib.io.logger.Logger log
  • Constructor Details

    • ClientAuthMethod

      public ClientAuthMethod(com.fishlib.io.logger.Logger log)
      Any implementation of this class must include an initializer with this signature in order to be instantiated at runtime.
      Parameters:
      log - The logger to use for this authentication method.
  • Method Details

    • nonInteractiveAuthentication

      public abstract boolean nonInteractiveAuthentication(AuthenticationClient client)
      Perform whatever steps are needed to authenticate with the server.
      Parameters:
      client - The client to attempt to authenticate with.
      Returns:
      True if the authentication succeeded, false otherwise.
    • reauthenticate

      public boolean reauthenticate(AuthenticationClient client)
      Allow for a separate reauthentication method from the original authentication method. Defaults to the original authentication method.
      Parameters:
      client - The client to attempt to reauthenticate with.
      Returns:
      True if the authentication succeeded, false otherwise.