Package org.pentaho.di.repository
Interface RepositorySecurityUserValidator
- All Superinterfaces:
IRepositoryService
,RepositorySecurityManager
- All Known Implementing Classes:
KettleDatabaseRepositorySecurityProvider
- Author:
- Andrey Khayrutdinov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
normalizeUserInfo
(IUser user) Performs normalization overuser
due to validation rules. Note: normalized is not guaranteed to pass validation rulesboolean
validateUserInfo
(IUser user) Validatesuser
and returnstrue
if all its data is valid.
Note: this method performs fail-fast approach and does not return any details.Methods inherited from interface org.pentaho.di.repository.RepositorySecurityManager
constructUser, deleteUsers, delUser, delUser, getUserID, getUserIDs, getUsers, isManaged, loadUserInfo, renameUser, saveUserInfo, setUsers, updateUser
-
Method Details
-
validateUserInfo
Validatesuser
and returnstrue
if all its data is valid.
Note: this method performs fail-fast approach and does not return any details.- Parameters:
user
- user's info- Returns:
true
orfalse
depending on whether or not user's info is valid
-
normalizeUserInfo
Performs normalization overuser
due to validation rules. Note: normalized is not guaranteed to pass validation rules- Parameters:
user
- user's info
-