Class UserAnonymizationHandler
- java.lang.Object
-
- com.broadleafcommerce.auth.server.service.anonymization.UserAnonymizationHandler
-
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.data.DataRoutePartitionAware
,com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
,org.springframework.core.Ordered
public class UserAnonymizationHandler extends Object implements com.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
Updates PII fields for theUser
domain.
-
-
Constructor Summary
Constructors Constructor Description UserAnonymizationHandler(UserService<User> userService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
anonymize(String boundedContextIdentifier, Object context)
String
getDataRoutePartition()
protected UserService<User>
getUserService()
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
handleRecords(String boundedContextIdentifier, User member)
-
-
-
Constructor Detail
-
UserAnonymizationHandler
public UserAnonymizationHandler(UserService<User> userService)
-
-
Method Detail
-
getDataRoutePartition
public String getDataRoutePartition()
- Specified by:
getDataRoutePartition
in interfacecom.broadleafcommerce.common.extension.data.DataRoutePartitionAware
-
anonymize
public List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> anonymize(String boundedContextIdentifier, Object context)
- Specified by:
anonymize
in interfacecom.broadleafcommerce.common.privacy.anonymization.AnonymizationHandler
-
handleRecords
protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord> handleRecords(String boundedContextIdentifier, User member)
-
getUserService
protected UserService<User> getUserService()
-
-