<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, "Juraci Paixão Kröhling" <<a href="mailto:jpkroehling@redhat.com">jpkroehling@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'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't set a<br>
Hawkular-Persona on a request with tokens, as the token itself stores<br>
the "Hawkular-Persona" 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>
> I was working on fetching data for different personas. At that time I am<br>
> facing that key/secret pair generated by /secret-store/v1/tokens/create<br>
> is being able to respond according to Hawkular-Persona provided in the<br>
> header.<br>
> But One generated by "Create Token" on token page is not able to work<br>
> that way. I have tried only on resources till yet though.<br>
> <a href="http://pastebin.com/Rp9idM7s" rel="noreferrer" target="_blank">http://pastebin.com/Rp9idM7s</a><br>
> I am providing Persona of created org which should have returned empty<br>
> list but proving the resource URLs which are present in first Persona.<br>
><br>
><br>
><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>
><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>