public void setCredentialsAESEncrypted(boolean credentialsAESEncrypted)
            throws TikaConfigException {
        if (credentialsAESEncrypted) {
            if (System.getenv(AES_ENV_VAR) == null) {
                throw new TikaConfigException(
                        "must specify aes key in the environment variable: " + AES_ENV_VAR);
            }
            if (credentialsAESEncrypted) {
                aes = new AES();
            }
        }
        this.credentialsAESEncrypted = credentialsAESEncrypted;
    }
only basic and ntlm are supported

@param authScheme
tika-pipes/tika-httpclient-commons/src/main/java/org/apache/tika/client/HttpClientFactory.java