com.datahub.authorization.EntitySpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datahub-auth-api Show documentation
Show all versions of datahub-auth-api Show documentation
DataHub Auth API for developers to write custom Authentication & Authorization plugins for DataHub
package com.datahub.authorization;
import javax.annotation.Nonnull;
import lombok.Value;
/**
* Details about the entities involved in the authorization process. It models the actor and the
* resource being acted upon. Resource types currently supported can be found inside of {@link
* com.linkedin.metadata.authorization.PoliciesConfig}
*/
@Value
public class EntitySpec {
/** The entity type. (dataset, chart, dashboard, corpGroup, etc). */
@Nonnull String type;
/**
* The entity identity. Most often, this corresponds to the raw entity urn.
* (urn:li:corpGroup:groupId)
*/
@Nonnull String entity;
}