public class SecurityAwarePentahoMetadataDomainRepository extends PentahoMetadataDomainRepository
Modifier and Type | Field and Description |
---|---|
static int[] |
ACCESS_TYPE_MAP |
ACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_SCHEMA_ADMIN, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE
ANNOTATIONS_FILE_ID_POSTFIX, PROPERTY_NAME_ANNOTATIONS
Constructor and Description |
---|
SecurityAwarePentahoMetadataDomainRepository(IUnifiedRepository repository) |
Modifier and Type | Method and Description |
---|---|
String |
generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model) |
IPentahoSession |
getSession() |
boolean |
hasAccess(int accessType,
org.pentaho.metadata.model.concept.IConcept aclHolder)
The aclHolder cannot be null unless the access type requested is ACCESS_TYPE_SCHEMA_ADMIN.
|
addLocalizationFile, addLocalizationFile, createOrUpdateAnnotationsXml, createUniqueFile, endsWithXmi, flushDomains, getAclFor, getAclHelper, getAnnotationsXmlFile, getDomain, getDomainFilesData, getDomainIdFromXmi, getDomainIds, getLocalizationUtil, getLogger, getMetadataDir, getMetadataRepositoryFile, getRepository, getRepositoryUtils, getXmiParser, hasAccessFor, isDomainIdXmiEqualsOrNotPresent, loadAnnotationsXml, loadLocaleStrings, loadProperties, noXmi, reloadDomains, removeDomain, removeModel, replaceDomainId, resolveAnnotationsFilePath, setAclFor, setLocalizationUtil, setRepository, setRepositoryUtils, setXmiParser, storeAnnotationsXml, storeDomain, storeDomain, storeDomain, toString
public SecurityAwarePentahoMetadataDomainRepository(IUnifiedRepository repository)
public IPentahoSession getSession()
public String generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model)
generateRowLevelSecurityConstraint
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
generateRowLevelSecurityConstraint
in class PentahoMetadataDomainRepository
public boolean hasAccess(int accessType, org.pentaho.metadata.model.concept.IConcept aclHolder)
PentahoMetadataDomainRepository
hasAccess
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
hasAccess
in class PentahoMetadataDomainRepository
Copyright © 2017 Hitachi Vantara. All rights reserved.