Stirling-PDF/src/main/java/stirling/software/SPDF/config
Ludy 9cc7a49d12
Enforcing Username Uniqueness (#906)
* Enforcing Username Uniqueness

Changes in UserService.java:

Added a new method findByUsername to allow searching for usernames regardless of case sensitivity.
Added a new method isUsernameValid to validate the username.
Changes in UserController.java:

Updated the changeUsername method to ensure the new username is valid before changing it.
Updated the editUser method to ensure the new username is unique and valid.
Changes in UserRepository.java:

Added a custom JPQL query to search for usernames regardless of case sensitivity.
Changes in HTML templates (account.html and addUsers.html):

Error messages are displayed if a username is invalid or already exists.

* JPAs auto
2024-03-13 22:09:16 +00:00
..
security Enforcing Username Uniqueness (#906) 2024-03-13 22:09:16 +00:00
AppConfig.java non root user and fix book/html calibre (#856) 2024-03-04 20:51:49 +00:00
Beans.java eol 2024-01-03 17:59:04 +00:00
CleanUrlInterceptor.java eol 2024-01-03 17:59:04 +00:00
ConfigInitializer.java Update ConfigInitializer.java for auto settings removal 2024-02-17 13:10:00 +00:00
EndpointConfiguration.java Fix 746 (#825) 2024-02-18 07:40:30 +00:00
EndpointInterceptor.java eol 2024-01-03 17:59:04 +00:00
MetricsConfig.java eol 2024-01-03 17:59:04 +00:00
MetricsFilter.java eol 2024-01-03 17:59:04 +00:00
OpenApiConfig.java eol 2024-01-03 17:59:04 +00:00
StartupApplicationListener.java eol 2024-01-03 17:59:04 +00:00
WebMvcConfig.java eol 2024-01-03 17:59:04 +00:00
YamlPropertySourceFactory.java formatting 2023-12-30 19:11:27 +00:00