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 voidnormalizeUserInfo(IUser user)Performs normalization overuserdue to validation rules. Note: normalized is not guaranteed to pass validation rulesbooleanvalidateUserInfo(IUser user)Validatesuserand returnstrueif 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)
Validatesuserand returnstrueif all its data is valid.
Note: this method performs fail-fast approach and does not return any details.- Parameters:
user- user's info- Returns:
trueorfalsedepending on whether or not user's info is valid
-
normalizeUserInfo
void normalizeUserInfo(IUser user)
Performs normalization overuserdue to validation rules. Note: normalized is not guaranteed to pass validation rules- Parameters:
user- user's info
-
-