View Full Version : JBoss & Mondrian

12-09-2006, 11:13 AM
I added a security constraint to the PCI R3 with the url pattern of /*. Authentication works well, however there appears to be a problem when I access cubes (reports and dashboards are ok). The relevant portion of the log is:

09:38:58,603 ERROR [OlapModelTag]
mondrian.olap.MondrianException: Mondrian Error:Internal error: while parsing catalog.

When I attempt to access the catalog schema file directly, I am forced to re-authenticate - I'm guessing this is the source of the problem. When I remove the security constraint, everything is fine.

Is there a fix to Pivot.jsp or somewhere else I could use to work around this issue? Some other work-around?


12-11-2006, 06:06 AM
I use Acegi as the security controll. If I give GetMondrianModel a ROLE_ANONYMOUS,then /* will be ok for jpivot view. Otherwise, /* will fail. Check the log in detail, I found when the core program redirect to GetMondrianModel. Though I had logined in, it still asked for authorized information for GetMondrianModel. It seems that it lost the user info after redirect to GetMondrianModel. So there will be a error for the request failing to pass the Secure. It is a bug of Pentaho Components.

12-11-2006, 01:08 PM
i think your workaround is for acegi, is there something similar for jaas?

12-12-2006, 10:40 AM
Try securing all servlets except GetMondrianModel. It seems to be working well for me, though I haven't tested everything. I'm also using JOSSO but it should also work using a straight JAAS setup.

Something like this....

<web-resource-name>Secure Content</web-resource-name>