org.pentaho.platform.plugin.services.metadata
Class SecurityAwareMetadataDomainRepository

java.lang.Object
  extended by org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
      extended by org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository
          extended by org.pentaho.platform.plugin.services.metadata.SecurityAwareMetadataDomainRepository
All Implemented Interfaces:
org.pentaho.metadata.repository.IMetadataDomainRepository

public class SecurityAwareMetadataDomainRepository
extends MetadataDomainRepository

This is the platform implementation which implements security.

Author:
Will Gorman (wgorman@pentaho.com)

Field Summary
 
Fields inherited from class org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository
ACCESS_TYPE_MAP, PROPERTIES_FILE_EXTENSION
 
Fields inherited from interface org.pentaho.metadata.repository.IMetadataDomainRepository
ACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_SCHEMA_ADMIN, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE
 
Constructor Summary
SecurityAwareMetadataDomainRepository()
           
 
Method Summary
 String generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model)
           
 boolean hasAccess(int accessType, org.pentaho.metadata.model.concept.IConcept aclHolder)
           
 
Methods inherited from class org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository
getDomain, getDomainIds, getSession, reloadDomains, removeDomain, storeDomain
 
Methods inherited from class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
flushDomains, removeModel, setDomainFolder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityAwareMetadataDomainRepository

public SecurityAwareMetadataDomainRepository()
Method Detail

generateRowLevelSecurityConstraint

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

hasAccess

public boolean hasAccess(int accessType,
                         org.pentaho.metadata.model.concept.IConcept aclHolder)
Specified by:
hasAccess in interface org.pentaho.metadata.repository.IMetadataDomainRepository
Overrides:
hasAccess in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository