Interface PrincipalOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Principal, Principal.Builder

    public interface PrincipalOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsPerTenantAcls​(java.lang.String key)
      Maps a Tenant ID to a list of ACL's that the Principal has permission to execute *within that Tenant*
      com.google.protobuf.Timestamp getCreatedAt()
      .google.protobuf.Timestamp created_at = 2;
      com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
      .google.protobuf.Timestamp created_at = 2;
      ServerACLs getGlobalAcls()
      Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
      ServerACLsOrBuilder getGlobalAclsOrBuilder()
      Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
      java.lang.String getId()
      Principals are agnostic of the Authentication protocol that you use.
      com.google.protobuf.ByteString getIdBytes()
      Principals are agnostic of the Authentication protocol that you use.
      java.util.Map<java.lang.String,​ServerACLs> getPerTenantAcls()
      Deprecated.
      int getPerTenantAclsCount()
      Maps a Tenant ID to a list of ACL's that the Principal has permission to execute *within that Tenant*
      java.util.Map<java.lang.String,​ServerACLs> getPerTenantAclsMap()
      Maps a Tenant ID to a list of ACL's that the Principal has permission to execute *within that Tenant*
      ServerACLs getPerTenantAclsOrDefault​(java.lang.String key, ServerACLs defaultValue)
      Maps a Tenant ID to a list of ACL's that the Principal has permission to execute *within that Tenant*
      ServerACLs getPerTenantAclsOrThrow​(java.lang.String key)
      Maps a Tenant ID to a list of ACL's that the Principal has permission to execute *within that Tenant*
      boolean hasCreatedAt()
      .google.protobuf.Timestamp created_at = 2;
      boolean hasGlobalAcls()
      Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getId

        java.lang.String getId()
         Principals are agnostic of the Authentication protocol that you use. In OAuth,
         the id is retrieved by looking at the claims on the request. In mTLS, the
         id is retrived by looking at the Subject Name of the client certificate.
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Principals are agnostic of the Authentication protocol that you use. In OAuth,
         the id is retrieved by looking at the claims on the request. In mTLS, the
         id is retrived by looking at the Subject Name of the client certificate.
         
        string id = 1;
        Returns:
        The bytes for id.
      • hasCreatedAt

        boolean hasCreatedAt()
        .google.protobuf.Timestamp created_at = 2;
        Returns:
        Whether the createdAt field is set.
      • getCreatedAt

        com.google.protobuf.Timestamp getCreatedAt()
        .google.protobuf.Timestamp created_at = 2;
        Returns:
        The createdAt.
      • getCreatedAtOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
        .google.protobuf.Timestamp created_at = 2;
      • getPerTenantAclsCount

        int getPerTenantAclsCount()
         Maps a Tenant ID to a list of ACL's that the Principal has permission to
         execute *within that Tenant*
         
        map<string, .littlehorse.ServerACLs> per_tenant_acls = 3;
      • containsPerTenantAcls

        boolean containsPerTenantAcls​(java.lang.String key)
         Maps a Tenant ID to a list of ACL's that the Principal has permission to
         execute *within that Tenant*
         
        map<string, .littlehorse.ServerACLs> per_tenant_acls = 3;
      • getPerTenantAclsMap

        java.util.Map<java.lang.String,​ServerACLs> getPerTenantAclsMap()
         Maps a Tenant ID to a list of ACL's that the Principal has permission to
         execute *within that Tenant*
         
        map<string, .littlehorse.ServerACLs> per_tenant_acls = 3;
      • getPerTenantAclsOrDefault

        ServerACLs getPerTenantAclsOrDefault​(java.lang.String key,
                                             ServerACLs defaultValue)
         Maps a Tenant ID to a list of ACL's that the Principal has permission to
         execute *within that Tenant*
         
        map<string, .littlehorse.ServerACLs> per_tenant_acls = 3;
      • getPerTenantAclsOrThrow

        ServerACLs getPerTenantAclsOrThrow​(java.lang.String key)
         Maps a Tenant ID to a list of ACL's that the Principal has permission to
         execute *within that Tenant*
         
        map<string, .littlehorse.ServerACLs> per_tenant_acls = 3;
      • hasGlobalAcls

        boolean hasGlobalAcls()
         Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
         
        .littlehorse.ServerACLs global_acls = 4;
        Returns:
        Whether the globalAcls field is set.
      • getGlobalAcls

        ServerACLs getGlobalAcls()
         Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
         
        .littlehorse.ServerACLs global_acls = 4;
        Returns:
        The globalAcls.
      • getGlobalAclsOrBuilder

        ServerACLsOrBuilder getGlobalAclsOrBuilder()
         Sets permissions that this Principal has *for any Tenant* in the LH Cluster.
         
        .littlehorse.ServerACLs global_acls = 4;