public interface UserAuthenticator extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(String user,
String password)
Authenticate the given user and password combination.
|
void |
close()
Close the authenticator.
|
void |
setup(DrillConfig drillConfig)
Setup for authenticating user credentials.
|
void setup(DrillConfig drillConfig) throws DrillbitStartupException
DrillbitStartupExceptionvoid authenticate(String user, String password) throws UserAuthenticationException
user - password - UserAuthenticationException - if authentication fails for given user and password.void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.