@Override
    public boolean isPropertyIncluded(String propertyName, String propertyValue, String configType, ClusterTopology topology) {
      Stack stack = topology.getBlueprint().getStack();
      final String serviceName = stack.getServiceForConfigType(configType);
      return !(stack.isPasswordProperty(serviceName, configType, propertyName) ||
        stack.isKerberosPrincipalNameProperty(serviceName, configType, propertyName));
    }
Query to determine if a given property should be included in a collection of
properties.

This implementation filters property if in stack configuration is the property type is password or kerberos principal.

@param propertyName property name
@param propertyValue property value
@param configType config type that contains this property
@param topology cluster topology instance

@return true if the property should be included
        false if the property should not be included
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java