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
 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 user
event - Event being sent
Returns:
true if allowed, false otherwise


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG