return getConnector(CredentialHelper.create(principal, token, getInstanceID()));
}
@SuppressWarnings("deprecation")
private Connector getConnector(TCredentials credential) throws AccumuloException, AccumuloSecurityException {
return new ConnectorImpl(this, credential);
}