eneter.messaging.nodes.broker
Interface AuthorizeBrokerRequestCallback
public interface AuthorizeBrokerRequestCallback
Callback which is called by broker to authorize publish, subscribe or unsubscribe operation.
Method Summary |
boolean |
invoke(java.lang.String responseReceiverId,
BrokerMessage request)
Performs authorizing of Publish, Subscribe or Unsubscribe |
invoke
boolean invoke(java.lang.String responseReceiverId,
BrokerMessage request)
- Performs authorizing of Publish, Subscribe or Unsubscribe
- Parameters:
responseReceiverId
- id of client which sent the request.request
- request sent by the client.
- Returns:
- true if the request is valid, false if the request is invalid. If it returns false the request
will not be invoked and the client will be disconnected.