Class CustomerAnonymizationEndpoint
- java.lang.Object
-
- com.broadleafcommerce.customer.web.endpoint.CustomerAnonymizationEndpoint
-
@FrameworkRestController @FrameworkMapping("/pii/customers") @DataRouteByExample(Customer.class) @ConditionalOnProperty(value="broadleaf.customer.anonymization.enabled", matchIfMissing=true) public class CustomerAnonymizationEndpoint extends Object
Supply the anonymization related endpoint to the service. Supplies the entrypoint for anonymization of PII data for a customer.
-
-
Constructor Summary
Constructors Constructor Description CustomerAnonymizationEndpoint(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.common.privacy.anonymization.AnonymizationReport
anonymize(String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
-
-
Method Detail
-
anonymize
@Policy(permissionRoots="CUSTOMER", identityTypes=ADMIN) @FrameworkDeleteMapping("/{id}") public com.broadleafcommerce.common.privacy.anonymization.AnonymizationReport anonymize(@PathVariable("id") String customerId, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
-