Patent ID: 9317710
Filing Date: 2016-04-19
CPC Classification: G06F

Claim Text:
1. A method for implementing a privacy policy, comprising: receiving code for an application which includes definitions for a set of classes of records and for each of the record classes, a definition of at least one field; receiving a selection of at least one of the fields of the application that is designated by a user as a sensitive field; with a hardware processor, based on the selection, generating a records manager and a mapping aspect, the records manager including a private class definition corresponding to each record class that includes at least one of the fields designated as a sensitive field, the private class definition identifying an associated minimization service for generating a minimized value of data in the sensitive field; the mapping aspect including pointcuts for identifying joins at which the records manager is to augment the functioning of the application code by calling the minimization service to generate a minimized value of data in the respective sensitive field, the records manager and mapping aspect being configured to be deployed when the application is run, whereby the minimization service generates a minimized value of data in the respective sensitive field; wherein the mapping aspect includes a pointcut which identifies a join point for each sensitive field; further comprising with a grammar, generating a model of the application which lists the sensitive fields and tracks the record classes which contain the sensitive fields, the generating of the records manager comprising generating a records manager source file based on the model.