Package org.pentaho.di.repository
Class BaseRepositorySecurityProvider
- java.lang.Object
-
- org.pentaho.di.repository.BaseRepositorySecurityProvider
-
- Direct Known Subclasses:
KettleDatabaseRepositorySecurityProvider
public class BaseRepositorySecurityProvider extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositoryCapabilities
capabilities
protected RepositoryMeta
repositoryMeta
protected IUser
userInfo
-
Constructor Summary
Constructors Constructor Description BaseRepositorySecurityProvider(RepositoryMeta repositoryMeta, IUser userInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryMeta
getRepositoryMeta()
IUser
getUserInfo()
void
setRepositoryMeta(RepositoryMeta repositoryMeta)
void
validateAction(RepositoryOperation... operations)
-
-
-
Field Detail
-
repositoryMeta
protected RepositoryMeta repositoryMeta
-
userInfo
protected IUser userInfo
-
capabilities
protected RepositoryCapabilities capabilities
-
-
Constructor Detail
-
BaseRepositorySecurityProvider
public BaseRepositorySecurityProvider(RepositoryMeta repositoryMeta, IUser userInfo)
-
-
Method Detail
-
getUserInfo
public IUser getUserInfo()
-
getRepositoryMeta
public RepositoryMeta getRepositoryMeta()
- Returns:
- the repositoryMeta
-
setRepositoryMeta
public void setRepositoryMeta(RepositoryMeta repositoryMeta)
- Parameters:
repositoryMeta
- the repositoryMeta to set
-
validateAction
public void validateAction(RepositoryOperation... operations) throws org.pentaho.di.core.exception.KettleException, org.pentaho.di.core.exception.KettleSecurityException
- Throws:
org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleSecurityException
-
-