Package com.apama.dashboard.security
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canSend(IUserCredentials credentials, Event event)
Test if a user has rights to send an event.
-
-
-
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 userevent
- Event being sent- Returns:
- true if allowed, false otherwise
-
-