JHipster module, JHipster module for creating data obfuscation at rest with JPA support
This is a JHipster module, that is meant to be used in a JHipster application.
If you need to obfuscate the data before to store it then you are looking for this jhipster module!
When secret or sensitive data are stored on a database in clear text unauthorized people can potentially look at them and use this information inappropriately. You can obfuscate the fields of your entity using this jhipster module
This field obfuscation is applicable only with JPA as persistence layer
PAY ATTENTION The used algorithms are very simple, if you want to improve the security you could re-implements the converters
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
To install this module:
yarn global add generator-jhipster-obfuscation-at-restTo update this module:
yarn global upgrade generator-jhipster-obfuscation-at-restTo install this module:
npm install -g generator-jhipster-obfuscation-at-restTo update this module:
npm update -g generator-jhipster-obfuscation-at-restTo run the module on a JHipster generated application:
yo jhipster-obfuscation-at-restThe module will prompting about obfuscation during the JHipster generation entity
jhipster entity YourEntityAfter, the entity generation will start the post run module hooks. Suppose that YourEntity will have two String fields name and code:
Running post run module hooks
Running JHipster obfuscation-at-rest Generator! v0.3.0
Supported types ["String", "LocalDate", "Integer"]
? Do you want to enable the obfuscation for this entity(EntityExample)? Yes
? Which fields do you want to obfuscate?
( ) Name
>(*) CodeYou can select all the fields (if is supported type) to apply the obfuscation.
Apache-2.0 ©