Package org.pentaho.di.repository
Interface RepositorySecurityUserValidator
-
- All Superinterfaces:
IRepositoryService
,RepositorySecurityManager
- All Known Implementing Classes:
KettleDatabaseRepositorySecurityProvider
public interface RepositorySecurityUserValidator extends RepositorySecurityManager
- Author:
- Andrey Khayrutdinov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
validateUserInfo
boolean 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.- Parameters:
user
- user's info- Returns:
true
orfalse
depending on whether or not user's info is valid
-
normalizeUserInfo
void normalizeUserInfo(IUser user)
Performs normalization overuser
due to validation rules. Note: normalized is not guaranteed to pass validation rules- Parameters:
user
- user's info
-
-