protected static void doSimplePut(final String expectedResult) {
    if (regionRef != null) {
      try {
        regionRef.put("KEY", "VALUE");
        if (expectedResult != null && expectedResult.endsWith("Exception")) {
          fail("Expected " + expectedResult + " but found none in doSimplePut()");
        }

      } catch (Exception e) {
        if (!e.getClass().getSimpleName().endsWith(expectedResult)) {
          fail("Expected " + expectedResult + " but found " + e.getClass().getSimpleName()
              + " in doSimplePut()", e);
        } else {
          logger.debug("Got expected " + e.getClass().getSimpleName() + " in doSimplePut()");
        }
      }
    }
  }
Contains utility methods for setting up servers/clients for authentication and authorization
tests.

@since GemFire 5.5

@deprecated in favor of just writing a test without this class
geode-dunit/src/main/java/org/apache/geode/security/SecurityTestUtils.java