Package org.apache.nifi.provenance
Interface ProvenanceAuthorizableFactory
public interface ProvenanceAuthorizableFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateLocalDataAuthorizable
(String componentId) Generates an Authorizable object for the Data of the component with the given ID.createProvenanceDataAuthorizable
(String componentId) Generates an Authorizable object for the Provenance Data of the component with the given ID.createRemoteDataAuthorizable
(String remoteGroupPortId) Generates an Authorizable object for the Data of the remote group port with the given ID.
-
Method Details
-
createLocalDataAuthorizable
Generates an Authorizable object for the Data of the component with the given ID. This includes provenance data and queue's on outgoing relationships.- Parameters:
componentId
- the ID of the component to which the Data belongs- Returns:
- the Authorizable that can be use to authorize access to provenance events
- Throws:
ResourceNotFoundException
- if no component can be found with the given ID
-
createRemoteDataAuthorizable
Generates an Authorizable object for the Data of the remote group port with the given ID.- Parameters:
remoteGroupPortId
- the ID of the remote group port to which the data belongs- Returns:
- the Authorizable that can be used to authorize access to provenance events
- Throws:
ResourceNotFoundException
- if no component can be found with the given ID
-
createProvenanceDataAuthorizable
Generates an Authorizable object for the Provenance Data of the component with the given ID.- Parameters:
componentId
- the ID of the component to which the Data belongs- Returns:
- the Authorizable that can be use to authorize access to provenance events
- Throws:
ResourceNotFoundException
- if no component can be found with the given ID
-