...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/** * This interface represents an authorizable resource in the CDAP component. */ public interface CDAPAuthorizable extends Authorizable { public enum AuthorizableType { Instance, Namespace, Artifact, Application, Program, Dataset, Stream, Stream_View }; AuthorizableType getAuthzType(); } |
...
Entity | Sentry Resource URI | ||
---|---|---|---|
Instance | TBD | ||
Namespace | cdap:///namespace=ns1 | ||
Artifact | cdap:///namespace=ns1/artifact=art1 | ||
Application | |||
Program | cdap:///namespace=ns1/application=app1/programType=pt1/programName=prg1 | ||
Dataset | cdap:///namespace=ns1/dataset=ds1 | ||
Stream | cdap:///namespace=ns1/stream=s1 | View | cdap:///namespace=ns1/stream=s1/view=v1 |
Note: Will have to whitelist the cdap user for the Sentry Service.
...