<br>AFAIK, JPivot creates its own connections by its own means. It does not depend on MdxConnection, as opposed to Pentaho Analyzer, which does. We have also stopped supporting JPivot since a while now, and we won&#39;t be performing any changes to its code base. That being said, JPivot is an FOSS project; you can grab the code and extend it whichever way you need.<br>

<br>For further information, I suggest you contact the owners of the JPivot project, or submit questions to Pentaho&#39;s user forums. You are more likely to get an answer regarding the BI server / JPivot there.<br><br>Luc<br>

<br>PS. Please be patient when addressing questions to this mailing list. None of us has any obligation to answer any of the questions here. For immediate assistance, you can either drop by our UNofficial IRC channel (##pentaho on freenode) or contact your services representative at Pentaho.<br>

<br><br><br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 8:48 AM, Kleyson Rios <span dir="ltr">&lt;<a href="mailto:kleysonrios@saude.go.gov.br" target="_blank">kleysonrios@saude.go.gov.br</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nobody can help me ??<br>
<div class="im"><br>
--<br>
Kleyson Rios<br>
Gestor de TI<br>
Coordenador de BI / Banco de Dados<br>
Gerência de Tecnologia da Informação<br>
Secretaria de Estado da Saúde de Goiás<br>
<a href="tel:%2862%29%203201-3707" value="+16232013707">(62) 3201-3707</a><br>
<br>
Se não pode vencer pelo talento, vença pelo esforço. (Dave Weinbaum)<br>
<br>
<br>
</div>Em 20/6/2012 10:12, Kleyson Rios escreveu:<br>
<div class="im HOEnZb">&gt; I would like to understand how MDXConnection and setRole works.<br>
&gt;<br>
&gt; I have a class that extends MDXConnection with the following code:<br>
&gt;<br>
&gt; (...)<br>
&gt; Schema schemaRole = thisConn.getSchema();<br>
&gt; RoleImpl customRoleImpl = new CustomUserRole(schemaRole);<br>
&gt; thisConn.setRole(customRoleImpl);<br>
&gt; setRole(customRoleImpl);<br>
&gt; (...)<br>
&gt;<br>
&gt; In the CustomUserRole (that extends RoleImpl) I set properly a new<br>
&gt; customized schema role.<br>
&gt;<br>
&gt; The same configuration for the customRoleImpl works fine for &#39;New<br>
&gt; Analyser&#39; in Pentaho EE but doesn&#39;t for JPivot in Pentaho CE.<br>
&gt;<br>
&gt; My question is: Does role security is an application dependent like &#39;New<br>
&gt; Analyser&#39;/JPivot or should work independent of the view application ?<br>
&gt;<br>
&gt; The HashTable for the member grants in the customRoleImpl:<br>
&gt; [Product].[All Products]=&lt;[Product].[All Products], CUSTOM&gt;,<br>
&gt; [Product].[Motorcycles]=&lt;[Product].[Motorcycles], ALL&gt;,<br>
&gt; [Product].[Classic Cars]=&lt;[Product].[Classic Cars], ALL&gt;,<br>
&gt; [Product].[Planes]=&lt;[Product].[Planes], ALL&gt;<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
</div></div></blockquote></div><br>