helidon-sockshop / sockshop

(START HERE) Helidon Sock Shop: Main application repository containing checkout, build and deployment scripts for all services
Universal Permissive License v1.0
99 stars 19 forks source link

Integrate with Helidon Security #4

Open aseovic opened 4 years ago

aseovic commented 4 years ago

At the moment the security is basically non-existent. The user needs to log in to place an order, but as long as you know user's ID you can access any information related to that user (cart, address, credit card info, etc.) without any authentication or authorization at the service level.

We need to enable Helidon Security for various resources that should be protected (user info, carts, etc.) so only logged in user (based on the cookie provided by the front-end service) or admin can access protected operations and data they provide.