Class AuthAnonymizationEndpoint
java.lang.Object
com.broadleafcommerce.auth.resource.web.endpoint.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 Summary
ConstructorDescriptionAuthAnonymizationEndpoint
(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService) -
Method Summary
-
Constructor Details
-
AuthAnonymizationEndpoint
public AuthAnonymizationEndpoint(com.broadleafcommerce.common.privacy.anonymization.AnonymizationService anonymizationService)
-
-
Method Details
-
anonymize
@Policy(permissionRoots="AUTH_USER", operationTypes=DELETE) @FrameworkDeleteMapping("/{id}") public com.broadleafcommerce.common.privacy.anonymization.AnonymizationReport anonymize(@PathVariable("id") String customerId)
-