avniproject / integration-service

Service for integration Avni with other systems
GNU Affero General Public License v3.0
0 stars 2 forks source link

Secure http endpoints and define base endpoint for the URLs #5

Closed petmongrels closed 2 years ago

petmongrels commented 2 years ago
  1. Currently, the endpoints are served from /. Since the service has to run in the common infrastructure along with other avni services, define the base path for all the endpoints.
  2. Protect the URLs so that they can be accessed only by users who are authenticated. (WebSecurityConfig.java and using the role annotation). Some URLs are protected and some are not. Review needs to be done and then protected.