public interface RepositorySecurityProvider extends IRepositoryService
This allows the repository to transparently implement any kind of authentication supported by Kettle.
Modifier and Type | Method and Description |
---|---|
boolean |
allowsVersionComments() |
List<String> |
getAllRoles()
Retrieves all roles in the system
|
List<String> |
getAllUsers()
Retrieves all users in the system
|
IUser |
getUserInfo() |
String[] |
getUserLogins() |
boolean |
isLockingPossible() |
boolean |
isReadOnly() |
boolean |
isVersionCommentMandatory() |
void |
validateAction(RepositoryOperation... operations)
Validates the supplied operation.
|
IUser getUserInfo()
void validateAction(RepositoryOperation... operations) throws org.pentaho.di.core.exception.KettleException, org.pentaho.di.core.exception.KettleSecurityException
org.pentaho.di.core.exception.KettleSecurityException
- in case the provided user is not know or the password is incorrectorg.pentaho.di.core.exception.KettleException
- in case the action couldn't be validated because of an unexpected problem.boolean isReadOnly()
boolean isLockingPossible()
boolean allowsVersionComments()
boolean isVersionCommentMandatory()
List<String> getAllUsers() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleSecurityException
- in case anything went wrongorg.pentaho.di.core.exception.KettleException
List<String> getAllRoles() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleSecurityException
- in case anything went wrongorg.pentaho.di.core.exception.KettleException
String[] getUserLogins() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException