@Deprecated @Override // Not really deprecated, just not for client use public Connector getConnector(String user, ByteBuffer pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, ByteBufferUtil.toBytes(pass)); }
@Deprecated @Override public Connector getConnector(String user, CharSequence pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, TextUtil.getBytes(new Text(pass.toString()))); }
@Deprecated @Override // Not really deprecated, just not for client use public Connector getConnector(String user, byte[] pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, new PasswordToken(pass)); }
@Deprecated @Override public Connector getConnector(String user, ByteBuffer pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, ByteBufferUtil.toBytes(pass)); }
@Deprecated @Override public Connector getConnector(org.apache.accumulo.core.security.thrift.AuthInfo auth) throws AccumuloException, AccumuloSecurityException { return getConnector(auth.user, auth.getPassword()); } }
@Deprecated @Override public Connector getConnector(String user, byte[] pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, new PasswordToken(pass)); }
@Deprecated @Override public Connector getConnector(String user, CharSequence pass) throws AccumuloException, AccumuloSecurityException { return getConnector(user, TextUtil.getBytes(new Text(pass.toString()))); }
@Override // Not really deprecated, just not for client use public Connector getConnector(String principal, AuthenticationToken token) throws AccumuloException, AccumuloSecurityException { return getConnector(CredentialHelper.create(principal, token, getInstanceID())); }