Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- RedirectCookieName - Static variable in class com.alpaca.security.oauth2.CookieAuthReqRepo
- register(AuthRequestDTO) - Method in class com.alpaca.controller.AuthController
-
Registers a new user with the provided credentials.
- register(User) - Method in class com.alpaca.service.impl.UserServiceImpl
-
Registers a new
User
in the system. - register(User) - Method in interface com.alpaca.service.IUserService
-
Registers a new User entity in the system.
- register(String, String) - Method in interface com.alpaca.service.IAuthService
-
Registers a new user in the system.
- register(String, String) - Method in class com.alpaca.service.impl.AuthServiceImpl
-
Registers a new user, assigns default role, and logs them in returning a JWT token.
- registerOrLoginOAuth2(String, String, String, String, boolean, Map<String, Object>) - Method in class com.alpaca.service.impl.AuthServiceImpl
-
Registers or logs in a user based on OAuth2 information.
- registerProfile(User, String, String, String) - Method in class com.alpaca.service.impl.AuthServiceImpl
-
Creates or updates a user's profile.
- removeAuthorizationRequest(HttpServletRequest, HttpServletResponse) - Method in class com.alpaca.security.oauth2.CookieAuthReqRepo
-
Removes the authorization request.
- removeAuthorizationRequestCookies(HttpServletRequest, HttpServletResponse) - Method in class com.alpaca.security.oauth2.CookieAuthReqRepo
-
Deletes both the authorization request and redirect URI cookies.
- repo - Variable in class com.alpaca.persistence.impl.AdvertiserDAOImpl
- repo - Variable in class com.alpaca.persistence.impl.PermissionDAOImpl
- repo - Variable in class com.alpaca.persistence.impl.ProfileDAOImpl
- repo - Variable in class com.alpaca.persistence.impl.RoleDAOImpl
- repo - Variable in class com.alpaca.persistence.impl.UserDAOImpl
- repository - Variable in class com.alpaca.security.oauth2.AuthFailureHandler
- repository - Variable in class com.alpaca.security.oauth2.AuthSuccessHandler
- requireField(String, String, JsonParser) - Static method in class com.alpaca.security.oauth2.AuthRequestDeserializer
-
Validates presence of required fields.
- resolve(HttpServletRequest) - Method in class com.alpaca.security.oauth2.OAuth2ReqResolver
- resolve(HttpServletRequest, String) - Method in class com.alpaca.security.oauth2.OAuth2ReqResolver
- resolveTargetUrl(HttpServletRequest) - Method in class com.alpaca.security.oauth2.AuthFailureHandler
-
Determines the target URL for redirection after failure.
- role - Variable in class com.alpaca.entity.RolePermission
-
The Role associated with this RolePermission.
- role - Variable in class com.alpaca.entity.UserRole
-
The Role associated with this UserRole.
- Role - Class in com.alpaca.entity
-
Represents a Role entity in the system.
- Role(String, String, Set<Permission>) - Constructor for class com.alpaca.entity.Role
-
Constructs an instance of a new Role object with the specified attributes.
- RoleController - Class in com.alpaca.controller
-
REST controller for managing
Role
entities. - RoleController() - Constructor for class com.alpaca.controller.RoleController
- RoleDAOImpl - Class in com.alpaca.persistence.impl
- RoleDAOImpl() - Constructor for class com.alpaca.persistence.impl.RoleDAOImpl
- roleDescription - Variable in class com.alpaca.dto.request.RoleRequestDTO
- roleDescription - Variable in record class com.alpaca.dto.response.RoleResponseDTO
-
The field for the
roleDescription
record component. - roleDescription - Variable in class com.alpaca.entity.Role
-
A brief description of the Role.
- roleDescription() - Method in record class com.alpaca.dto.response.RoleResponseDTO
-
Returns the value of the
roleDescription
record component. - roleMapper - Variable in class com.alpaca.mapper.impl.UserMapperImpl
- RoleMapperImpl - Class in com.alpaca.mapper.impl
-
Implementation of the
IRoleMapper
interface responsible for mapping betweenRole
entities and their corresponding request and response DTOs. - RoleMapperImpl() - Constructor for class com.alpaca.mapper.impl.RoleMapperImpl
- roleName - Variable in class com.alpaca.dto.request.RoleRequestDTO
- roleName - Variable in record class com.alpaca.dto.response.RoleResponseDTO
-
The field for the
roleName
record component. - roleName - Variable in class com.alpaca.entity.Role
-
The name of the Role.
- roleName() - Method in record class com.alpaca.dto.response.RoleResponseDTO
-
Returns the value of the
roleName
record component. - RolePermission - Class in com.alpaca.entity
-
Represents the association between a
Role
and aPermission
. - RolePermission(Role, Permission) - Constructor for class com.alpaca.entity.RolePermission
-
Constructs an instance of a new RolePermission object with the specified attributes.
- rolePermissionRepo - Variable in class com.alpaca.persistence.impl.RoleDAOImpl
- RolePermissionRepo - Interface in com.alpaca.repository
-
Repository interface for managing
RolePermission
entities. - rolePermissions - Variable in class com.alpaca.entity.Permission
- rolePermissions - Variable in class com.alpaca.entity.Role
-
Indicates the set of Permission has the Role.
- RoleRepo - Interface in com.alpaca.repository
-
Repository interface for managing
Role
entities. - RoleRequestDTO - Class in com.alpaca.dto.request
- RoleRequestDTO() - Constructor for class com.alpaca.dto.request.RoleRequestDTO
- RoleResponseDTO - Record Class in com.alpaca.dto.response
- RoleResponseDTO(UUID, String, String, List<PermissionResponseDTO>) - Constructor for record class com.alpaca.dto.response.RoleResponseDTO
-
Creates an instance of a
RoleResponseDTO
record class. - roles - Variable in class com.alpaca.dto.request.UserRequestDTO
- roles - Variable in record class com.alpaca.dto.response.UserResponseDTO
-
The field for the
roles
record component. - roles() - Method in record class com.alpaca.dto.response.UserResponseDTO
-
Returns the value of the
roles
record component. - roleService - Variable in class com.alpaca.mapper.impl.UserMapperImpl
- roleService - Variable in class com.alpaca.service.impl.AuthServiceImpl
- roleService - Variable in class com.alpaca.service.impl.DataServiceImpl
- RoleServiceImpl - Class in com.alpaca.service.impl
-
Service layer implementation for managing
Role
entities and encapsulating business logic specific to roles while inheriting basic CRUD operations fromIGenericService
. - RoleServiceImpl() - Constructor for class com.alpaca.service.impl.RoleServiceImpl
- rolesToUserRoles(Collection<Role>) - Method in class com.alpaca.entity.User
- run(ApplicationArguments) - Method in class com.alpaca.service.impl.InitializerServiceImpl
-
Called automatically after application startup to initialize application data.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form