org.pentaho.platform.engine.security.userrole
Class UserDetailsRoleListService

java.lang.Object
  extended by org.pentaho.platform.engine.security.userrole.UserDetailsRoleListService
All Implemented Interfaces:
IUserDetailsRoleListService, org.springframework.beans.factory.InitializingBean

public class UserDetailsRoleListService
extends Object
implements org.springframework.beans.factory.InitializingBean, IUserDetailsRoleListService


Constructor Summary
UserDetailsRoleListService()
           
 
Method Summary
 void afterPropertiesSet()
           
 List getAllRoles()
           
 List getAllUsers()
           
 List getAllUsersInRole(String role)
           
 IPentahoSession getEffectiveUserSession(String userName, IParameterProvider paramProvider)
           
 List getRolesForUser(String userName)
           
 IUserRoleListService getUserRoleListService()
           
 void setUserRoleListService(IUserRoleListService value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDetailsRoleListService

public UserDetailsRoleListService()
Method Detail

setUserRoleListService

public void setUserRoleListService(IUserRoleListService value)
Specified by:
setUserRoleListService in interface IUserDetailsRoleListService

getUserRoleListService

public IUserRoleListService getUserRoleListService()
Specified by:
getUserRoleListService in interface IUserDetailsRoleListService

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface IUserDetailsRoleListService
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getAllRoles

public List getAllRoles()
Specified by:
getAllRoles in interface IUserDetailsRoleListService

getAllUsers

public List getAllUsers()
Specified by:
getAllUsers in interface IUserDetailsRoleListService

getAllUsersInRole

public List getAllUsersInRole(String role)
Specified by:
getAllUsersInRole in interface IUserDetailsRoleListService

getRolesForUser

public List getRolesForUser(String userName)
Specified by:
getRolesForUser in interface IUserDetailsRoleListService

getEffectiveUserSession

public IPentahoSession getEffectiveUserSession(String userName,
                                               IParameterProvider paramProvider)
Specified by:
getEffectiveUserSession in interface IUserDetailsRoleListService