[Mondrian] Mondrian-UserRoleMapper

Pedro Alves pmgalves at gmail.com
Wed May 23 10:03:33 EDT 2012


I use that all the time - check the logs, you're missing something 
obvious in your role definition. Make sure you define a default role 
also

On Wed 23 May 2012 02:38:30 PM WEST, Kleyson Rios wrote:
> I am trying to use Mondrian-One-To-One-UserRoleMapper but it not
> working. I tried in 3.10 and 4.5 versions.
> When I call the analysis I got the following message: This page cannot
> be accessed directly. It must be linked to from other pages
>
> I am debuging the code to try identify if it is some bug, but I am not
> able to figure out.
>
> But checking mapPlatformRolesToMondrianRoles (in MDXConnection.java)
> it looks be working correctly, because I have the following input
> properties:
> DataSource=SampleData; PoolNeeded=false; Provider=mondrian;
> Catalog=solution:steel-wheels/analysis/steelwheels.mondrian.xml;
> Locale=en_US
>
> and the following output properties:
> DataSource=SampleData; PoolNeeded=false; Provider=mondrian;
> Catalog=solution:steel-wheels/analysis/steelwheels.mondrian.xml;
> Locale=en_US; Role=Authenticated
>
> If in the pentahoObjects.spring.xml file I set <property
> name="failOnEmptyRoleList" value="false" /> for the bean, my analysis
> works fine.
>
> For some reason the Roles are not be passed and aplied in the schema.
>
> Any idea about that ?
> How can I do this work ?
>
> Regards.
> --
> Kleyson Rios
> Gestor de TI
> Coordenador de BI / Banco de Dados
> Gerência de Tecnologia da Informação
> Secretaria de Estado da Saúde de Goiás
> (62) 3201-3707
>
> Se não pode vencer pelo talento, vença pelo esforço. (Dave Weinbaum)
>
>
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian


More information about the Mondrian mailing list