Interface PublicKeyAuthenticationClient

All Superinterfaces:
TokenAuthenticationClient, TokenFactoryFactory, TokenVerificationClient
All Known Subinterfaces:
AuthenticationClient
All Known Implementing Classes:
AuthenticationClientManager, AuthenticationClientManager.Null, AuthenticationClientManagerBase, GrpcAuthenticationClientManager

public interface PublicKeyAuthenticationClient extends TokenFactoryFactory
  • Method Details

    • challengeResponse

      boolean challengeResponse(String privateKeyFile)
      Authenticate with the user denoted in the specified private key file
      Parameters:
      privateKeyFile - the file containing the elements required for authentication; user, operateas, public and private keys.
      Returns:
      the status of the authentication-attempt; true if successfully authenticated, else false
      Throws:
      UncheckedIOException - if the server was unreachable
      PubPrivKeyException - if there was a problem with public/private key operations
      AuthException - if any other problem occurred