public class MondrianOneToOneUserRoleListMapper extends MondrianAbstractPlatformUserRoleMapper implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected boolean |
failOnEmptyRoleList |
Constructor and Description |
---|
MondrianOneToOneUserRoleListMapper() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
boolean |
isFailOnEmptyRoleList() |
protected String[] |
mapRoles(String[] mondrianRoles,
String[] platformRoles)
This mapper maps directly from a Pentaho to a Mondrian role.
|
void |
setFailOnEmptyRoleList(boolean failOnEmptyRoleList) |
getMondrianRolesFromCatalog, getPlatformRolesFromSession, mapConnectionRoles, mapConnectionUser
protected String[] mapRoles(String[] mondrianRoles, String[] platformRoles) throws PentahoAccessControlException
mapRoles
in class MondrianAbstractPlatformUserRoleMapper
mondrianRoles
- Sorted list of roles defined in the catalogplatformRoles
- Sorted list of the roles defined in the catalogPentahoAccessControlException
public void setFailOnEmptyRoleList(boolean failOnEmptyRoleList)
public boolean isFailOnEmptyRoleList()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.