Class MondrianUserSessionUserRoleListMapper
- java.lang.Object
-
- org.pentaho.platform.plugin.action.mondrian.mapper.MondrianAbstractPlatformUserRoleMapper
-
- org.pentaho.platform.plugin.action.mondrian.mapper.MondrianUserSessionUserRoleListMapper
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IConnectionUserRoleMapper
,org.springframework.beans.factory.InitializingBean
public class MondrianUserSessionUserRoleListMapper extends MondrianAbstractPlatformUserRoleMapper implements org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description MondrianUserSessionUserRoleListMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
String
getSessionProperty()
protected String[]
mapRoles(String[] mondrianRoles, String[] platformRoles)
Subclasses simply need to implement this one method to do the specific mapping desired.void
setSessionProperty(String value)
-
Methods inherited from class org.pentaho.platform.plugin.action.mondrian.mapper.MondrianAbstractPlatformUserRoleMapper
getMondrianRolesFromCatalog, getPlatformRolesFromSession, mapConnectionRoles, mapConnectionUser
-
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
mapRoles
protected String[] mapRoles(String[] mondrianRoles, String[] platformRoles)
Description copied from class:MondrianAbstractPlatformUserRoleMapper
Subclasses simply need to implement this one method to do the specific mapping desired.- Specified by:
mapRoles
in classMondrianAbstractPlatformUserRoleMapper
- Parameters:
mondrianRoles
- Sorted list of roles defined in the catalogplatformRoles
- Sorted list of the roles defined in the catalog- Returns:
-
setSessionProperty
public void setSessionProperty(String value)
-
getSessionProperty
public String getSessionProperty()
-
-