Package com.cedarpolicy.model.slice
Class Entity
java.lang.Object
com.cedarpolicy.model.slice.Entity
An entity is the kind of object about which authorization decisions are made; principals,
actions, and resources are all a kind of entity. Each entity is defined by its entity type, a
unique identifier (UID), zero or more attributes mapped to values, and zero or more parent
entities.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
attrs
Key/Value attribute map. -
parentsEUIDs
Set of entity EUIDs that are parents to this entity.
-
-
Constructor Details
-
Entity
Create an entity from JsonEUID and unwrapped JSON values.- Parameters:
uid- EUID of the Entity.attributes- Key/Value map of attributes.parentsEUIDs- Set of parent entities' EUIDs.
-
-
Method Details