MigratoryDataPublishRequest

Represent a publish authorization request.

Public Functions

Name
ClientCredentials getClientCredentials()
Provides the credentials of the client.
String getSubject()
Provides the subject of the message to be authorized for publication.
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.

Public Functions Documentation

function getClientCredentials

ClientCredentials getClientCredentials()

Provides the credentials of the client.

Return: the credentials of the client

function getSubject

String getSubject()

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

Return: the subject of the message to be published

function setAllowed

void setAllowed(
    boolean allowed
)

Allows or denies the publish authorization request.

Parameters:

function sendResponse

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


Updated on 9 November 2020 at 21:01:04 EET