Class CrudPolicyConfiguration

java.lang.Object
com.broadleafcommerce.data.tracking.core.policy.autoconfigure.CrudPolicyConfiguration

@Configuration @ConditionalOnProperty("broadleaf.common.crudrepository.policy.validation.enforce") public class CrudPolicyConfiguration extends Object
Configure aspects and PolicyOverride instances for methods exposed via the CrudRepository interface.
Author:
Jeff Fischer
  • Constructor Details

    • CrudPolicyConfiguration

      public CrudPolicyConfiguration()
  • Method Details

    • crudPolicyAspect

      @Bean @ConditionalOnMissingBean(name="crudPolicyAspect") public CrudPolicyAspect crudPolicyAspect(PolicyAspectProcessor processor)
    • policyCrudSaveMethod

      @Bean public PolicyOverride policyCrudSaveMethod()
    • policyCrudFindByIdMethod

      @Bean public PolicyOverride policyCrudFindByIdMethod()
    • policyCrudExistsByIdMethod

      @Bean public PolicyOverride policyCrudExistsByIdMethod()
    • policyCrudCountMethod

      @Bean public PolicyOverride policyCrudCountMethod()
    • policyCrudDeleteByIdMethod

      @Bean public PolicyOverride policyCrudDeleteByIdMethod()