public static Object [ ] getAuthenticatedConnection ( String host , String username , byte [ ] hashedPassword , int port , final Subject subject , ClientAuthScheme scheme , long timeoutMillis ) throws IOException { String service = subject == null ? "database" : Constants . KERBEROS ; return getAuthenticatedConnection ( service , host , username , hashedPassword , port , subject , scheme , null , timeoutMillis ) ; }
Create a connection to a Volt server and authenticate the connection .