Class AuthAnonymizationEndpoint


  • @FrameworkRestController
    @FrameworkMapping("/pii/users")
    @ConditionalOnProperty(value="broadleaf.auth.anonymization.enabled",
                           matchIfMissing=true)
    public class AuthAnonymizationEndpoint
    extends Object
    Supply the anonymization related endpoint to the service. Supplies the entrypoint for anonymization of PII data for a customer.
    • Constructor Detail

      • AuthAnonymizationEndpoint

        public AuthAnonymizationEndpoint​(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService)
    • Method Detail

      • anonymize

        @Policy(permissionRoots="AUTH_USER",
                operationTypes=DELETE)
        @FrameworkDeleteMapping("/{id}")
        public com.broadleafcommerce.common.privacy.anonymization.AnonymizationReport anonymize​(@PathVariable("id")
                                                                                                String customerId)