anchor.diff:    void close() override { return; }
   };
   
  -int main(int argc, char** argv) {
  -  auto config = Properties::create();
  -  config->insert(SECURITY_USERNAME, "root");
  -  config->insert(SECURITY_PASSWORD, "root");
  -
  -  auto cacheFactory = CacheFactory(config);
  -  auto authInitialize = std::make_shared<UserPasswordAuthInit>();
  -  cacheFactory.set("log-level", "none");
  -  cacheFactory.setAuthInitialize(authInitialize);
  -
  -  auto cache = cacheFactory.create();
  -  auto poolFactory = cache.getPoolManager().createFactory();
  -
  -  poolFactory.addLocator("localhost", 10334);
  -  auto pool = poolFactory.create("pool");
  -  auto regionFactory = cache.createRegionFactory(RegionShortcut::PROXY);
  -  auto region = regionFactory.setPoolName("pool").create("example_userinfo");
  -
  -  region->put("rtimmons", "Robert Timmons");
  -  region->put("scharles", "Sylvia Charles");
  -
  -  auto user1 = region->get("rtimmons");
  -  auto user2 = region->get("scharles");
  -  std::cout << "  rtimmons = "
  -            << std::dynamic_pointer_cast<CacheableString>(user1)->value()
  -            << std::endl;
  -  std::cout << "  scharles = "
  -            << std::dynamic_pointer_cast<CacheableString>(user2)->value()
  -            << std::endl;
  -
  -  cache.close();
  -}
   ```
  
positive.code: In this C++ authentication example, credentials are implemented in the getCredentials member function of the AuthInitialize abstract class.
  
  ```cpp
  #include <iostream>
  
  #include <geode/CacheFactory.hpp>
  #include <geode/PoolManager.hpp>
  #include <geode/RegionFactory.hpp>
  #include <geode/RegionShortcut.hpp>
  #include <geode/AuthInitialize.hpp>
  
  using namespace apache::geode::client;
  
  constexpr auto SECURITY_USERNAME = "security-username";
  constexpr auto SECURITY_PASSWORD = "security-password";
  
  class UserPasswordAuthInit : public AuthInitialize {
  public:
    UserPasswordAuthInit() = default;
  
negative.code: 
  
  ```cs
    class ExampleAuthInitialize : IAuthInitialize
    {
      public ExampleAuthInitialize()
      {
        // TODO initialize your resources here
        Console.Out.WriteLine("ExampleAuthInitialize::ExampleAuthInitialize called");
      }
  
      public void Close()
      {
        // TODO close your resources here
        Console.Out.WriteLine("ExampleAuthInitialize::Close called");
      }
  
      public Properties<string, object> GetCredentials(Properties<string, string> props, string server)
      {
        // TODO get your username and password
        Console.Out.WriteLine("ExampleAuthInitialize::GetCredentials called");
  
        var credentials = new Properties<string, object>();
        credentials.Insert("security-username", "root");
        credentials.Insert("security-password", "root");
        return credentials;
      }
    }
  
  ```
  
  