public class AuthUtils extends Object
Constructor and Description |
---|
AuthUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
validateConfigPresent(com.datastax.oss.driver.api.core.config.DriverExecutionProfile config,
String authenticatorName,
SocketAddress host,
com.datastax.oss.driver.api.core.config.DriverOption... options)
Utility function that checks for the existance of settings and throws an exception if they
aren't present
|
public static void validateConfigPresent(com.datastax.oss.driver.api.core.config.DriverExecutionProfile config, String authenticatorName, SocketAddress host, com.datastax.oss.driver.api.core.config.DriverOption... options)
config
- Current working driver configurationauthenticatorName
- name of authenticator for logging purposeshost
- the host we are attempting to authenticate tooptions
- a list of DriverOptions to check to see if they are presentCopyright © 2017–2019. All rights reserved.