org.pentaho.platform.plugin.services.metadata
Class SecurityAwareMetadataDomainRepository
java.lang.Object
org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository
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)
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 |
Methods inherited from class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository |
flushDomains, removeModel, setDomainFolder |
SecurityAwareMetadataDomainRepository
public SecurityAwareMetadataDomainRepository()
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