Represent a subscribe authorization request.
Provides the credentials of the client.
the credentials of the client
Provides the list of subjects to be authorized for subscription.
the subjects to be subscribed
setAllowed(String subject, boolean allowed)
Allows or denies the subscribe authorization request.
This method should be used to authorize the subscription for each subject of the list provided by MigratoryDataSubscribeRequest.getSubjects().
subject: each subject of the list provided by MigratoryDataSubscribeRequest.getSubjects() to be authorized for subscription
trueif the client with the credentials provided by MigratoryDataSubscribeRequest.getClientCredentials() is allowed to subscribe to the subject of the first argument, and
Send the response for the authorization request back to the server to allow or deny the subscribed subjects.
This method must be called after the subjects have been authorized using the method MigratoryDataSubscribeRequest.setAllowed()..