Package org.pentaho.di.repository
Interface RepositorySecurityManager
-
- All Superinterfaces:
IRepositoryService
- All Known Subinterfaces:
RepositorySecurityUserValidator
- All Known Implementing Classes:
KettleDatabaseRepositorySecurityProvider
public interface RepositorySecurityManager extends IRepositoryService
This interface defines any security management related APIs that are required for a repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IUserconstructUser()voiddeleteUsers(List<IUser> users)voiddelUser(String name)voiddelUser(org.pentaho.di.repository.ObjectId id_user)org.pentaho.di.repository.ObjectIdgetUserID(String login)org.pentaho.di.repository.ObjectId[]getUserIDs()List<IUser>getUsers()booleanisManaged()IUserloadUserInfo(String username)voidrenameUser(org.pentaho.di.repository.ObjectId id_user, String newname)voidsaveUserInfo(IUser user)voidsetUsers(List<IUser> users)voidupdateUser(IUser user)
-
-
-
Method Detail
-
getUsers
List<IUser> getUsers() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
setUsers
void setUsers(List<IUser> users) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getUserID
org.pentaho.di.repository.ObjectId getUserID(String login) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
delUser
void delUser(org.pentaho.di.repository.ObjectId id_user) throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
delUser
void delUser(String name) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getUserIDs
org.pentaho.di.repository.ObjectId[] getUserIDs() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
saveUserInfo
void saveUserInfo(IUser user) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
renameUser
void renameUser(org.pentaho.di.repository.ObjectId id_user, String newname) throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
constructUser
IUser constructUser() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
updateUser
void updateUser(IUser user) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
deleteUsers
void deleteUsers(List<IUser> users) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
loadUserInfo
IUser loadUserInfo(String username) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
isManaged
boolean isManaged() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
-