Interface IEventAuthority


  • public interface IEventAuthority
    An IEventAuthority authorizes users for sending an event to the correlator. Implementations can use the user credentials to provide discrete access control for individual events.
    • Method Detail

      • canSend

        boolean canSend​(IUserCredentials credentials,
                        Event event)
        Test if a user has rights to send an event. The method event.getText() can be used to get the text format of the event.
        Parameters:
        credentials - Credentials of user
        event - Event being sent
        Returns:
        true if allowed, false otherwise