Index

A B C D E F G H I L M O P R S T U V 
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
 
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
 

B

BEARER_TOKEN_TYPE - Static variable in interface org.qubership.atp.auth.springbootstarter.Constants
 
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 the params is String.class instead of UUID.class and Action.class
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 the params is UUID.class and String.class 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
 
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
 
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
 

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_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 - 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
 
details - Variable in class org.qubership.atp.auth.springbootstarter.handlers.ErrorResponse
 
DEVOPS - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
 

E

ENGINEER - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
 
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
 
EXECUTOR - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Group
 
extract(HttpServletRequest) - Method in class org.qubership.atp.auth.springbootstarter.utils.BearerTokenHttpExtractor
 
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
 

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 Encoder bean.

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
 
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 Group for 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
 
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
 
LOCK - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
 

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
 
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
 

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
 
UPDATE - Enum constant in enum org.qubership.atp.auth.springbootstarter.entities.Operation
 
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.
A B C D E F G H I L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form