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
DrillbitStartupException
void 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 AutoCloseable
close
in interface Closeable
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.