MigratoryDataPublishRequestΒΆ

interface MigratoryDataPublishRequest

Represent a publish authorization request.

Public Functions

ClientCredentials getClientCredentials()

Provides the credentials of the client.

Return

the credentials of the client

String getSubject()

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

Return

the subject of the message to be published

void setAllowed(boolean allowed)

Allows or denies the publish authorization request.

Parameters

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().