public interface RepositorySecurityProvider extends IRepositoryService
This allows the repository to transparently implement any kind of authentication supported by Kettle.
Modifier and Type | Field and Description |
---|---|
static String |
ADMINISTER_SECURITY_ACTION |
static String |
ADMINISTER_SECURITY_ROLE |
static String |
CREATE_CONTENT_ACTION |
static String |
CREATE_CONTENT_ROLE |
static String |
EXECUTE_CONTENT_ACTION |
static String |
NAMESPACE |
static String |
READ_CONTENT_ACTION |
static String |
READ_CONTENT_ROLE |
static String |
SCHEDULE_CONTENT_ACTION |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsVersionComments(String fullPath) |
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() |
boolean |
isVersioningEnabled(String fullPath)
Determines whether versioning should be enabled in the UI for the given fully qualified file/path.
|
void |
validateAction(RepositoryOperation... operations)
Validates the supplied operation.
|
static final String CREATE_CONTENT_ROLE
static final String READ_CONTENT_ROLE
static final String ADMINISTER_SECURITY_ROLE
static final String CREATE_CONTENT_ACTION
static final String READ_CONTENT_ACTION
static final String EXECUTE_CONTENT_ACTION
static final String SCHEDULE_CONTENT_ACTION
static final String ADMINISTER_SECURITY_ACTION
static final String NAMESPACE
IUser getUserInfo()
void validateAction(RepositoryOperation... operations) throws KettleException, KettleSecurityException
KettleSecurityException
- in case the provided user is not know or the password is incorrectKettleException
- in case the action couldn't be validated because of an unexpected problem.boolean isReadOnly()
boolean isLockingPossible()
boolean allowsVersionComments(String fullPath)
boolean isVersionCommentMandatory()
List<String> getAllUsers() throws KettleException
KettleSecurityException
- in case anything went wrongKettleException
List<String> getAllRoles() throws KettleException
KettleSecurityException
- in case anything went wrongKettleException
String[] getUserLogins() throws KettleException
KettleException
boolean isVersioningEnabled(String fullPath)
Copyright © 2018 Hitachi Vantara. All rights reserved.