<p dir="ltr">Thanks<br>
But still the doubt remain is why token created with /secret-store/v1/tokens/create is allowing to do so.</p>
<div class="gmail_quote">On 21 Mar 2016 1:55 pm, &quot;Juraci Paixão Kröhling&quot; &lt;<a href="mailto:jpkroehling@redhat.com">jpkroehling@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m not sure I got what the problem is, but a token is always related to<br>
a persona, be it the real user, be it an organization. You can&#39;t set a<br>
Hawkular-Persona on a request with tokens, as the token itself stores<br>
the &quot;Hawkular-Persona&quot; used when the token was created (defaults to the<br>
actual user). So, if you want to have multiple personas on the android<br>
client, you have to have multiple tokens stored locally, one for each<br>
persona.<br>
<br>
- Juca.<br>
<br>
On 17.03.2016 19:40, Anuj Garg wrote:<br>
&gt; I was working on fetching data for different personas. At that time I am<br>
&gt; facing that key/secret pair generated by /secret-store/v1/tokens/create<br>
&gt; is being able to respond according to Hawkular-Persona provided in the<br>
&gt; header.<br>
&gt; But One generated by &quot;Create Token&quot; on token page is not able to work<br>
&gt; that way. I have tried only on resources till yet though.<br>
&gt; <a href="http://pastebin.com/Rp9idM7s" rel="noreferrer" target="_blank">http://pastebin.com/Rp9idM7s</a><br>
&gt; I am providing Persona of created org which should have returned empty<br>
&gt; list but proving the resource URLs which are present in first Persona.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; hawkular-dev mailing list<br>
&gt; <a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
&gt;<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</blockquote></div>