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 IUser
constructUser()
void
deleteUsers(List<IUser> users)
void
delUser(String name)
void
delUser(org.pentaho.di.repository.ObjectId id_user)
org.pentaho.di.repository.ObjectId
getUserID(String login)
org.pentaho.di.repository.ObjectId[]
getUserIDs()
List<IUser>
getUsers()
boolean
isManaged()
IUser
loadUserInfo(String username)
void
renameUser(org.pentaho.di.repository.ObjectId id_user, String newname)
void
saveUserInfo(IUser user)
void
setUsers(List<IUser> users)
void
updateUser(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
-
-