/new-fammulfin

Simple web app for managing family finance

Primary LanguageJavaApache License 2.0Apache-2.0

new-fammulfin

Simple web app for managing family finance

TODOs

Notes on TODOs

JpaRepository can be secured with '@PreAuthorize', but this is not a good practice. Moreover, it prevents access without without a web security context as, e.g., from the command line initializer (here DataPreloader).

The right thing to do is:

  1. to prevent publication of JPA repositories as services (maybe with @NoService);
  2. to create "custom" services with proper @PreAuthorize.