org.pentaho.di.repository
Interface RepositorySecurityManager

All Superinterfaces:
IRepositoryService
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
 IUser constructUser()
           
 void deleteUsers(List<IUser> users)
           
 void delUser(org.pentaho.di.repository.ObjectId id_user)
           
 void delUser(String name)
           
 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