@Override
  public void close() {
    // Clear the extra stuff from System properties
    Properties properties = System.getProperties();
    properties.remove(SECURITY_SYSTEM_PREFIX + SECURITY_PEER_AUTH_INIT);
    properties.remove(SECURITY_SYSTEM_PREFIX + SECURITY_PEER_AUTHENTICATOR);

    for (final Object o : security.keySet()) {
      properties.remove(SECURITY_SYSTEM_PREFIX + o);
    }
    System.setProperties(properties);
  }
For every key in p mark it as being from the given source.
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionConfigImpl.java