public boolean shouldRedact(String propNameLowercase, Class<?> type) {
        if (Boolean.class.isAssignableFrom(type) || boolean.class.isAssignableFrom(type)) {
            return false; //Don't redact boolean types
        }

        //TODO consider replacing or augmenting this hard coding
        // with a mechanism to allow properties to be selected for redaction, e.g. using annotations
        return propNameLowercase.endsWith("password") ||
               propNameLowercase.endsWith("secret") ||
               propNameLowercase.endsWith("token") ||
               propNameLowercase.endsWith("nonce") ||
               propNameLowercase.endsWith("key");
    }
Create {@link Data} items from properties of the supplied POJO

@param obj POJO from which to extract properties
@return List of {@link Data} items representing properties of the supplied POJO
stroom-event-logging/stroom-event-logging-impl/src/main/java/stroom/event/logging/impl/StroomEventLoggingServiceImpl.java