docs: private AuthData generateDirectoryAuthData(String userName, String password)  {
  
          if(password != null && ! password.isEmpty()){
              byte[] secret = ObfuscatUtil.base64Encode(password.getBytes());
              return new AuthData(AuthScheme.DIRECTORY, userName, secret, true);
          } else {
              return new AuthData(AuthScheme.DIRECTORY, userName, null, false);
          }
      }