Package org.apache.nifi.authorization
Class AccessPolicy
java.lang.Object
org.apache.nifi.authorization.AccessPolicy
Defines a policy for a set of userIdentifiers to perform a set of actions on a given resource.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
identifier
-
resource
-
users
-
groups
-
action
-
-
Constructor Details
-
AccessPolicy
-
-
Method Details
-
getIdentifier
- Returns:
- the identifier for this policy
-
getResource
- Returns:
- the resource for this policy
-
getUsers
- Returns:
- an unmodifiable set of user ids for this policy
-
getGroups
- Returns:
- an unmodifiable set of group ids for this policy
-
getAction
- Returns:
- the action for this policy
-
equals
-
hashCode
public int hashCode() -
toString
-