Package io.deephaven.enterprise.auth
Interface PublicKeyAuthenticationClient
- All Superinterfaces:
TokenAuthenticationClient
,TokenFactoryFactory
,TokenVerificationClient
- All Known Subinterfaces:
AuthenticationClient
- All Known Implementing Classes:
AuthenticationClientManager
,AuthenticationClientManager.Null
,AuthenticationClientManagerBase
,GrpcAuthenticationClientManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.enterprise.auth.TokenFactoryFactory
TokenFactoryFactory.TokenFactory
-
Method Summary
Modifier and TypeMethodDescriptionboolean
challengeResponse
(String privateKeyFile) Authenticate with the user denoted in the specified private key fileMethods inherited from interface io.deephaven.enterprise.auth.TokenAuthenticationClient
createToken, createToken, createTokenForUser, createTokenForUser
Methods inherited from interface io.deephaven.enterprise.auth.TokenFactoryFactory
close, getTokenFactory, getTokenFactory, getTokenFactory, getTokenFactory
Methods inherited from interface io.deephaven.enterprise.auth.TokenVerificationClient
verifyToken
-
Method Details
-
challengeResponse
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 unreachablePubPrivKeyException
- if there was a problem with public/private key operationsAuthException
- if any other problem occurred
-