Interface TicketAccessValidator
-
public interface TicketAccessValidator
TheTicketAccessValidator
is an extension point used to validate access to a ticket. It can be used in the novomind iAGENT Routing and Desk processes.************************ !!! IMPORTANT NOTE !!! ******************************
Please note that the methods of this interface will be called very frequently triggered by user interactions in the frontend or api, that keep blocking until the methods return.The implementation must guarantee high performance and avoid heap garbage. Please do not implement any long term operations like web service calls or database lookups within the method implementations of this interface. Please keep in mind that the methods may be called multiple times concurrently and avoid any kind of bottlenecks or synchronized code.
******************************************************************************- Since:
- 12.43
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateTicketAccess(TicketAccessValidatorContext ticketAccessValidatorContext)
The method is called on plugins implementing this interface to validate the access to a ticket.
-
-
-
Method Detail
-
validateTicketAccess
void validateTicketAccess(TicketAccessValidatorContext ticketAccessValidatorContext) throws TicketAccessValidationException
The method is called on plugins implementing this interface to validate the access to a ticket.- Parameters:
ticketAccessValidatorContext
- TheTicketAccessValidatorContext
associated with the request to the access the ticket- Throws:
TicketAccessValidationException
- Throw aTicketAccessValidationException
to indicate a validation error. The user will not be able to access the ticket.- Since:
- 12.43
-
-