Package org.apache.nifi.authorization
Interface Resource
public interface Resource
Resource in an authorization request.
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for this resource.getName()
The name of this resource.The description of this resource that may be safely used in messages to the client.
-
Method Details
-
getIdentifier
String getIdentifier()The identifier for this resource.- Returns:
- identifier for this resource
-
getName
String getName()The name of this resource. May be null.- Returns:
- name of this resource
-
getSafeDescription
String getSafeDescription()The description of this resource that may be safely used in messages to the client.- Returns:
- safe description
-