Skip to content

franciscolarrocca/data-masking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-masking

Introduction

This project is a simple example to share and learn about data protection in a particular API. In this case is data masking by using Spring Boot and a custom annotation @MaskData.

data_masking.png

Prerequisites

  • Java 17 or higher
  • Maven
  • Postman (optional, for testing with the provided collection)

How can I test it?

You import the following postman collection doc/data_masking.postman_collection.json. Or you can use the following CURLs:

  • Get all users:
curl --location 'http://localhost:8080/api/users'
  • Get user by ID:
curl --location 'http://localhost:8080/api/users/1'
  • Save user:
curl --location 'http://localhost:8080/api/users' \
--header 'Content-Type: application/json' \
--data '{
  "name": "Some name",
  "age": 24,
  "username": "sname",
  "password": "pass92d63c923ce",
  "phoneNumber": "1111223344"
}'

About

Example to share and learn about data protection in a particular API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages