All Classes and Interfaces
Class
Description
Represents a physical address associated with a user.
Repository interface responsible for CRUD operations on Address entities.
Implementation of the AddressesRepository interface using JdbcClient to perform database operations.
Service responsible for managing user addresses,
including retrieval, saving, updating, and grouping addresses by user.
Mapper component responsible for converting
Address
entities
to AddressResponseDTO
data transfer objects.Data Transfer Object for address requests.
Data Transfer Object for address responses.
Data Transfer Object for authentication requests.
Service that implements Spring Security's UserDetailsService to load user-specific data.
Data Transfer Object for password change requests.
Data Transfer Object used as response after a user creation.
Exception thrown when an attempt is made to add or register an address
that already exists (i.e., a duplicate address) in the system.
Validator that checks for duplicate addresses in a user's request.
Exception thrown when an attempt is made to register or update a user
with an email that is already in use by another user.
Validator that checks if a given email address is already registered in the system.
Global exception handler to centralize and customize exception handling across
all controllers in the application.
Exception thrown when a provided password does not meet the
required validation criteria or is considered invalid.
Exception thrown when an attempt is made to register or use a login
that already exists in the system.
Validator that checks if a given login is already registered in the system.
Main entry point for the Users microservice application.
Service responsible for validating password change requests.
Interface for validating password update rules.
Enumeration of user roles in the system.
Security configuration class for setting up Spring Security in the application.
Security filter that intercepts every HTTP request to authenticate users based on JWT tokens.
Exception thrown when JWT token generation fails.
Data Transfer Object for carrying JWT token information.
Service responsible for generating and validating JWT tokens.
Exception thrown when JWT token validation fails.
DTO to update user information including addresses.
Represents a user entity with authentication and authorization details.
Mapper component responsible for converting
User
entities
to UsersResponseDTO
data transfer objects.Exception thrown when a requested user is not found in the system.
Repository interface for managing User entities.
Implementation of the
UserRepository
interface using Spring's JdbcClient
for data access.REST controller for managing users.
Data Transfer Object for user creation and update requests.
Data Transfer Object representing a user response.
Service class responsible for managing user operations such as
creation, update, retrieval, password changes, and activation status.
Service responsible for validating user data during creation or update.
Interface for validating user data in a
UsersRequestDTO
.