interface MigratoryDataPublishRequest

Represent a publish authorization request.

Public Functions

ClientCredentials getClientCredentials()

Provides the credentials of the client.


the credentials of the client

String getSubject()

Provides the subject of the message to be authorized for publication.


the subject of the message to be published

void setAllowed(boolean allowed)

Allows or denies the publish authorization request.


void sendResponse()

Send the response for authorization request back to the server to allow or deny the publish.

This method must be called after the publish has been authorized using the method MigratoryDataPublishRequest.setAllowed().