Apama 10.15.0 | Building and Using Apama Dashboards | Dashboard Deployment | Administering Dashboard Security | Administering authorization | Send event authorization
 
Send event authorization
 
Using UserCredential accessor methods
Compiling your Event Authority
Installing your Event Authority
By default, any user is authorized to send any event. However you can create a custom event authority that determines whether a given user is authorized to send a given event. An event authority is a Java class that implements the canSend method of the interface com.apama.dashboard.security.IEventAuthority:
boolean canSend (IUserCredentials credentials, Event event);
If canSend() returns true the user is allowed to send the event. If it returns false the user is not allowed to send the event and the attempt to send the event is treated as a command failure. Dashboard object property settings determine if this error is displayed to the user.