Class AugmentationProperties

java.lang.Object
com.broadleafcommerce.metadata.core.service.autoconfigure.AugmentationProperties

@ConfigurationProperties("broadleaf.metadata.augmentation") public class AugmentationProperties extends Object
Since:
2.0.2-GA
Author:
Susana Cruz (susanaccruz)
  • Constructor Details

    • AugmentationProperties

      public AugmentationProperties()
  • Method Details

    • getUseInQueryBuilderRestrictions

      public Map<String,Integer> getUseInQueryBuilderRestrictions()
      The map denoting the maximum amount of augmentation fields that can be added to a container. The key of this map is the Component.getAugmentationKey().

      This is useful in cases like Customer Custom Fields where the default behavior results in the fields being added as claims on the Access Token. It's important to restrict the number of additional claims to not bloat the token.

    • setUseInQueryBuilderRestrictions

      public void setUseInQueryBuilderRestrictions(Map<String,Integer> useInQueryBuilderRestrictions)
      The map denoting the maximum amount of augmentation fields that can be added to a container. The key of this map is the Component.getAugmentationKey().

      This is useful in cases like Customer Custom Fields where the default behavior results in the fields being added as claims on the Access Token. It's important to restrict the number of additional claims to not bloat the token.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object