Class SecurityAwarePentahoMetadataDomainRepository

java.lang.Object
org.pentaho.platform.plugin.services.metadata.PentahoMetadataDomainRepository
org.pentaho.platform.plugin.services.metadata.SecurityAwarePentahoMetadataDomainRepository
All Implemented Interfaces:
org.pentaho.metadata.repository.IMetadataDomainRepository, IAclAwarePentahoMetadataDomainRepositoryImporter, IDataSourceAwareMetadataDomainRepository, IModelAnnotationsAwareMetadataDomainRepositoryImporter, IPentahoMetadataDomainRepositoryExporter, IPentahoMetadataDomainRepositoryImporter

public class SecurityAwarePentahoMetadataDomainRepository extends PentahoMetadataDomainRepository
This is the platform implementation which implements security. NOTE: this class will be moved after integration testing
Author:
David Kincade
  • Field Details

    • ACCESS_TYPE_MAP

      public static final int[] ACCESS_TYPE_MAP
  • Constructor Details

    • SecurityAwarePentahoMetadataDomainRepository

      public SecurityAwarePentahoMetadataDomainRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
  • Method Details

    • getSession

      public org.pentaho.platform.api.engine.IPentahoSession getSession()
    • generateRowLevelSecurityConstraint

      public String generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model)
      Specified by:
      generateRowLevelSecurityConstraint in interface org.pentaho.metadata.repository.IMetadataDomainRepository
      Overrides:
      generateRowLevelSecurityConstraint in class PentahoMetadataDomainRepository
    • hasAccess

      public boolean hasAccess(int accessType, org.pentaho.metadata.model.concept.IConcept aclHolder)
      Description copied from class: PentahoMetadataDomainRepository
      The aclHolder cannot be null unless the access type requested is ACCESS_TYPE_SCHEMA_ADMIN.
      Specified by:
      hasAccess in interface org.pentaho.metadata.repository.IMetadataDomainRepository
      Overrides:
      hasAccess in class PentahoMetadataDomainRepository