@Override
    public Object authenticate(Properties credentials) throws AuthenticationFailedException {
      // server1 and server2 are authenticated, server3 is not
      String name = credentials.getProperty("name");
      if ("server-3".equals(name)) {
        throw new AuthenticationFailedException(SERVER_3_IS_NOT_AUTHENTICATED);
      }
      return name;
    }
this test specifically uses a peer-auth-init that doesn't produce credentials that has
security-username or security-password. It produces a property that its SecurityManager
knows how to authenticate/authorize. It's just to show that we can pass in properties
other than security-username and security-password. But this will be doable only in peer/client
case. For gfsh/rest, we still expected the credentials to be wrapped as expected.
geode-core/src/distributedTest/java/org/apache/geode/security/IntegratedSecurityPeerAuthDUnitTest.java