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 java.lang.Object
implements org.springframework.beans.factory.InitializingBean, IUserDetailsRoleListService


Constructor Summary
UserDetailsRoleListService()
           
 
Method Summary
 void afterPropertiesSet()
           
 java.util.List getAllRoles()
           
 java.util.List getAllUsers()
           
 java.util.List getAllUsersInRole(java.lang.String role)
           
 IPentahoSession getEffectiveUserSession(java.lang.String userName, IParameterProvider paramProvider)
           
 java.util.List getRolesForUser(java.lang.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 java.lang.Exception
Specified by:
afterPropertiesSet in interface IUserDetailsRoleListService
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getAllRoles

public java.util.List getAllRoles()
Specified by:
getAllRoles in interface IUserDetailsRoleListService

getAllUsers

public java.util.List getAllUsers()
Specified by:
getAllUsers in interface IUserDetailsRoleListService

getAllUsersInRole

public java.util.List getAllUsersInRole(java.lang.String role)
Specified by:
getAllUsersInRole in interface IUserDetailsRoleListService

getRolesForUser

public java.util.List getRolesForUser(java.lang.String userName)
Specified by:
getRolesForUser in interface IUserDetailsRoleListService

getEffectiveUserSession

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