Class ResourceDescriptor

java.lang.Object
com.cloudimpl.outstack.runtime.iam.ResourceDescriptor

public class ResourceDescriptor
extends java.lang.Object
Author:
nuwan
  • Method Details

    • isResourceMatched

      public boolean isResourceMatched​(AuthInput input, java.util.Map<java.lang.String,​java.lang.Object> attr)
    • getTenantId

      public java.lang.String getTenantId()
    • getRootType

      public java.lang.String getRootType()
    • getRootId

      public java.lang.String getRootId()
    • getChildType

      public java.lang.String getChildType()
    • getChildId

      public java.lang.String getChildId()
    • getVersion

      public java.lang.String getVersion()
    • getResourceScope

      public ResourceDescriptor.ResourceScope getResourceScope()
    • getTenantScope

      public ResourceDescriptor.TenantScope getTenantScope()
    • builder

      public static ResourceDescriptor.Builder builder()
    • isTenantResource

      public boolean isTenantResource()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object