<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I cannot make security roles work properly when making a query through XMLA (it works OK if the query is done through mondrianQuery tag).</DIV>
<DIV>In mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody I can see this code:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // use context variable `role' as this request's XML/A role<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlaRequest xmlaReq = new DefaultXmlaRequest(xmlaReqElem,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (String) context.get(CONTEXT_ROLE));<BR></DIV>
<DIV>However, I do not see where this context is filled besides in handleSoapHeader. handleSoapHeader function only puts this keys: CONTEXT_XMLA_SESSION_ID, CONTEXT_XMLA_SESSION_STATE.</DIV>
<DIV>&nbsp;</DIV>
<DIV>One question more: If security is not implemented I would do it.&nbsp;I have read&nbsp;XMLA 1.1 spec and I could not see where to define the role in the SOAP message. Should it be defined as a restriction?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance for your answer</DIV>
<DIV>&nbsp;</DIV>
<DIV>Pedro</DIV></div><br>
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font></body></html>