Interface TicketAccessValidator


  • public interface TicketAccessValidator
    The TicketAccessValidator 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 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 - The TicketAccessValidatorContext associated with the request to the access the ticket
        Throws:
        TicketAccessValidationException - Throw a TicketAccessValidationException to indicate a validation error. The user will not be able to access the ticket.
        Since:
        12.43