Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addRole(String) - Method in class org.qubership.atp.auth.springbootstarter.entities.UserInfo
-
Add a new role to roles.
- ATP_ADMIN - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Role
-
Admin role.
- ATP_EXTERNAL - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Role
-
External role.
- ATP_SUPPORT - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Role
-
Support role.
- AtpEntityNotFoundException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpEntityNotFoundException(String) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Example: Failed to find Environment Info entity.
- AtpEntityNotFoundException(String, Object) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Example: Failed to find Environment Info entity by id: 123.
- AtpEntityNotFoundException(String, String, Object) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Example: Failed to find Environment Info entity by execution request id: 322.
- AtpException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpException() - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpException
-
Default constructor.
- AtpException(String) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpException
-
Constructor from String exception message.
- AtpExternalForbiddenException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpExternalForbiddenException() - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpExternalForbiddenException
-
Constructor.
- AtpIllegalNullableArgumentException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpIllegalNullableArgumentException(String) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpIllegalNullableArgumentException
-
Exception with fixed message.
- AtpIllegalNullableArgumentException(String, String) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpIllegalNullableArgumentException
-
Exception with parametrized message.
- AtpKafkaListenerContainerFactoryException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpKafkaListenerContainerFactoryException() - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpKafkaListenerContainerFactoryException
-
Constructor.
- AtpRequestValidationException - Exception Class in org.qubership.atp.auth.springbootstarter.exceptions
- AtpRequestValidationException(MethodArgumentNotValidException) - Constructor for exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpRequestValidationException
-
Build AtpRequestValidationException with validation messages separated by comma.
- AUTHORIZATION_HEADER_NAME - Static variable in interface org.qubership.atp.auth.springbootstarter.Constants
-
Constant for Authorization Http Header Name.
B
- BEARER_TOKEN_TYPE - Static variable in interface org.qubership.atp.auth.springbootstarter.Constants
-
Constant for Bearer Token Type Name.
- BearerTokenHttpExtractor - Class in org.qubership.atp.auth.springbootstarter.utils
- BearerTokenHttpExtractor() - Constructor for class org.qubership.atp.auth.springbootstarter.utils.BearerTokenHttpExtractor
- BearerTokenStompExtractor - Class in org.qubership.atp.auth.springbootstarter.utils
- BearerTokenStompExtractor() - Constructor for class org.qubership.atp.auth.springbootstarter.utils.BearerTokenStompExtractor
C
- checkAccess(String, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
This method is used if params are of String class instead of UUID and Action classes.
- checkAccess(String, String, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given entity name, current project and operation for currently authenticated user.
- checkAccess(String, Set<UUID>, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given entity name, set of projects and operation for currently authenticated user.
- checkAccess(String, Set<UUID>, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given entity name, set of projects and operation for currently authenticated user.
- checkAccess(String, UUID, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given entity name, current project and operation for currently authenticated user.
- checkAccess(String, UUID, Set<UUID>, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, set of objectIds and operation for currently authenticated user.
- checkAccess(String, UUID, Set<UUID>, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, set of objectIds and operation for currently authenticated user.
- checkAccess(String, UUID, UUID, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, objectId and operation for currently authenticated user.
- checkAccess(String, UUID, UUID, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, objectId and operation for currently authenticated user.
- checkAccess(String, UUID, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, entity name and operation for currently authenticated user.
- checkAccess(Set<UUID>, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given set of projects and operation for currently authenticated user, execute checkAccess (UUID projectId, String action) for each project in the set.
- checkAccess(UUID, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
This method is used if params are of UUID and String classes instead of Action class.
- checkAccess(UUID, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project and operation for currently authenticated user.
- checkExternalAccess(String, String) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Check external access permissions.
- checkExternalAccess(String, UUID, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using given current project, set of objectIds and operation for currently authenticated user.
- checkPoliciesForOperation(String, Project, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Check permissions to perform the operation against the entityName under the project.
- checkPoliciesForOperation(Project, Operation) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Check policy for project.
- commonFeignErrorDecoder() - Method in class org.qubership.atp.auth.springbootstarter.config.FeignConfiguration
-
Create Feign Client Exception Error Decoder bean in case there is no ErrorDecoder bean yet.
- commonHandler(Exception, HttpServletRequest) - Method in class org.qubership.atp.auth.springbootstarter.handlers.GlobalExceptionHandler
-
Global handler for exceptions.
- Constants - Interface in org.qubership.atp.auth.springbootstarter
- CREATE - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: create an object.
D
- DataContextHolder<T> - Interface in org.qubership.atp.auth.springbootstarter.holders
-
Stores objects in context.
- decode(String, Response) - Method in class org.qubership.atp.auth.springbootstarter.feign.exception.FeignClientExceptionErrorDecoder
-
Decode exception from response.
- DEFAULT - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Default Group (this group means a user doesn't have permissions in the project).
- DEFAULT_ID_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Default parametrized message with EntityName and Reference field value parameters.
- DEFAULT_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Default parametrized message with EntityName parameter.
- DEFAULT_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpException
-
Default fixed exception message.
- DEFAULT_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpExternalForbiddenException
-
Default message.
- DEFAULT_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpIllegalNullableArgumentException
-
Default parametrized message with Reference field name and EntityName parameters.
- DEFAULT_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpKafkaListenerContainerFactoryException
-
Default exception message.
- DEFAULT_REF_ID_MESSAGE - Static variable in exception class org.qubership.atp.auth.springbootstarter.exceptions.AtpEntityNotFoundException
-
Default parametrized message with EntityName, Reference field name and Reference field value parameters.
- DELETE - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: delete an object.
- details - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- DEVOPS - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Group of DevOps Engineers.
E
- ENGINEER - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Group of QA/TA Engineers.
- ErrorResponse - Class in org.qubership.atp.auth.springbootstarter.handlers
- ErrorResponse() - Constructor for class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- ExceptionUtils - Class in org.qubership.atp.auth.springbootstarter.utils
- ExceptionUtils() - Constructor for class org.qubership.atp.auth.springbootstarter.utils.ExceptionUtils
- EXECUTE - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: execute an object.
- EXECUTOR - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Group of Runners (who can execute test runs).
- extract(HttpServletRequest) - Method in class org.qubership.atp.auth.springbootstarter.utils.BearerTokenHttpExtractor
-
Extract Bearer token value from Http Authorization Header value.
- extract(K) - Method in interface org.qubership.atp.auth.springbootstarter.utils.HeaderValueExtractor
-
Returns the extracted value from request.
- extract(StompHeaderAccessor) - Method in class org.qubership.atp.auth.springbootstarter.utils.BearerTokenStompExtractor
-
Extract token value from Authorization Http Header value.
F
- FeignClientException - Exception Class in org.qubership.atp.auth.springbootstarter.feign.exception
- FeignClientException(Integer, String, Request.HttpMethod, Map<String, Collection<String>>, Request) - Constructor for exception class org.qubership.atp.auth.springbootstarter.feign.exception.FeignClientException
-
Constructor for
FeignException.FeignClientException. - FeignClientExceptionErrorDecoder - Class in org.qubership.atp.auth.springbootstarter.feign.exception
-
Decodes a failed request response building a FeignClientException.
- FeignClientExceptionErrorDecoder() - Constructor for class org.qubership.atp.auth.springbootstarter.feign.exception.FeignClientExceptionErrorDecoder
- feignClientObjectMapper() - Method in class org.qubership.atp.auth.springbootstarter.config.FeignConfiguration
-
Create objectMapper for feign client message converter.
- FeignConfiguration - Class in org.qubership.atp.auth.springbootstarter.config
- FeignConfiguration() - Constructor for class org.qubership.atp.auth.springbootstarter.config.FeignConfiguration
- feignEncoder(ObjectMapper) - Method in class org.qubership.atp.auth.springbootstarter.config.FeignConfiguration
-
Create
Encoderbean.
G
- get() - Method in interface org.qubership.atp.auth.springbootstarter.holders.DataContextHolder
-
Get object from context.
- get() - Method in interface org.qubership.atp.auth.springbootstarter.ssl.Provider
-
Provide an object.
- getFullName() - Method in class org.qubership.atp.auth.springbootstarter.entities.UserInfo
-
Returns user full name.
- getGenericClassSimpleName(Object) - Static method in class org.qubership.atp.auth.springbootstarter.utils.ReflectionUtils
-
Get generic class simple name.
- getPermissionsByGroup(Group) - Method in class org.qubership.atp.auth.springbootstarter.entities.Permissions
-
Get permissions for specified group.
- getPrincipal() - Method in interface org.qubership.atp.auth.springbootstarter.holders.DataContextHolder
-
Get principal from context.
- getProjectEntityWithGroup(UUID, List<UUID>, List<UUID>, List<UUID>, List<UUID>, List<UUID>, Permissions) - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Create project entity with users fields.
- getUserGroup(UUID, Set<String>) - Method in class org.qubership.atp.auth.springbootstarter.entities.Project
-
Return
Groupfor currently authenticated user by project. - GlobalExceptionHandler - Class in org.qubership.atp.auth.springbootstarter.handlers
- GlobalExceptionHandler() - Constructor for class org.qubership.atp.auth.springbootstarter.handlers.GlobalExceptionHandler
- Group - Enum in org.qubership.atp.auth.springbootstarter.entities
H
- HeaderValueExtractor<T,
K> - Interface in org.qubership.atp.auth.springbootstarter.utils -
Extract data from http request.
I
- isAdmin() - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using user role.
- isAuthenticated() - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies.
- isExternal() - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Check if it's external access.
- isOperationAvailable(Operation) - Method in class org.qubership.atp.auth.springbootstarter.entities.Operations
-
Return permission for specified operation
Operation. - isSupport() - Method in interface org.qubership.atp.auth.springbootstarter.security.permissions.PolicyEnforcement
-
Performs evaluation of authorization policies using user role.
L
- LEAD - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Group of QA/TA Leads.
- LOCK - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: lock an object.
M
- message - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
O
- ObjectPermissions - Class in org.qubership.atp.auth.springbootstarter.entities
- ObjectPermissions() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.ObjectPermissions
- Operation - Enum in org.qubership.atp.auth.springbootstarter.entities
- Operations - Class in org.qubership.atp.auth.springbootstarter.entities
- Operations() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.Operations
- org.qubership.atp.auth.springbootstarter - package org.qubership.atp.auth.springbootstarter
- org.qubership.atp.auth.springbootstarter.config - package org.qubership.atp.auth.springbootstarter.config
- org.qubership.atp.auth.springbootstarter.entities - package org.qubership.atp.auth.springbootstarter.entities
- org.qubership.atp.auth.springbootstarter.exceptions - package org.qubership.atp.auth.springbootstarter.exceptions
- org.qubership.atp.auth.springbootstarter.feign.exception - package org.qubership.atp.auth.springbootstarter.feign.exception
- org.qubership.atp.auth.springbootstarter.handlers - package org.qubership.atp.auth.springbootstarter.handlers
- org.qubership.atp.auth.springbootstarter.holders - package org.qubership.atp.auth.springbootstarter.holders
- org.qubership.atp.auth.springbootstarter.security.permissions - package org.qubership.atp.auth.springbootstarter.security.permissions
- org.qubership.atp.auth.springbootstarter.ssl - package org.qubership.atp.auth.springbootstarter.ssl
- org.qubership.atp.auth.springbootstarter.utils - package org.qubership.atp.auth.springbootstarter.utils
P
- path - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- Permissions - Class in org.qubership.atp.auth.springbootstarter.entities
- Permissions() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.Permissions
- PolicyEnforcement - Interface in org.qubership.atp.auth.springbootstarter.security.permissions
-
Check access entry point.
- Project - Class in org.qubership.atp.auth.springbootstarter.entities
- Project() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.Project
- Provider<T> - Interface in org.qubership.atp.auth.springbootstarter.ssl
R
- READ - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: read an object.
- reason - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- ReflectionUtils - Class in org.qubership.atp.auth.springbootstarter.utils
- ReflectionUtils() - Constructor for class org.qubership.atp.auth.springbootstarter.utils.ReflectionUtils
- Role - Enum in org.qubership.atp.auth.springbootstarter.entities
S
- ServiceEntities - Class in org.qubership.atp.auth.springbootstarter.entities
- ServiceEntities() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.ServiceEntities
- set(T) - Method in interface org.qubership.atp.auth.springbootstarter.holders.DataContextHolder
-
Save object in context.
- status - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- SUPPORT - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Group of Support Staff.
T
- throwWithLog(Logger, AtpException) - Static method in class org.qubership.atp.auth.springbootstarter.utils.ExceptionUtils
-
Log and throw the error.
- timestamp - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
- toString() - Method in enum org.qubership.atp.auth.springbootstarter.entities.Group
- toString() - Method in enum org.qubership.atp.auth.springbootstarter.entities.Operation
- trace - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
U
- UNLOCK - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: unlock an object.
- UPDATE - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Operation: update an object.
- UserInfo - Class in org.qubership.atp.auth.springbootstarter.entities
- UserInfo() - Constructor for class org.qubership.atp.auth.springbootstarter.entities.UserInfo
V
- valueOf(String) - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Role
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Group
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.qubership.atp.auth.springbootstarter.entities.Role
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form