<p dir="ltr">It happened to me too yesterday but i was thinking might be I am not properly using the tokens coz I am new to it.<br>
But was following the same procedure.</p>
<div class="gmail_quote">On 23 Jan 2016 3:26 am, &quot;John Mazzitelli&quot; &lt;<a href="mailto:mazz@redhat.com">mazz@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 just tried installing the agent to use securityKey/securitySecret rather than username/password and it failed to authenticate with the server. If I use username/password, it works fine.<br>
<br>
It isn&#39;t anything with the agent that seems to be the problem because during my testing, I attached to the agent with my debugger and right before I sent the auth message to<br>
<br>
<a href="http://127.0.0.1:8080/hawkular/accounts/personas/current" rel="noreferrer" target="_blank">http://127.0.0.1:8080/hawkular/accounts/personas/current</a><br>
<br>
I change the value of the key/secret to &quot;jdoe&quot; and &quot;password&quot; and it works. So there is something on the server-side that doesn&#39;t like the agent passing in the token credentials.<br>
<br>
Can I ask if anyone else sees the same thing? It&#39;s easy to test:<br>
<br>
1) in the UI, create yourself a new token<br>
2) in standalone.xml&#39;s &lt;storage-adapter&gt; element, change the &quot;username&quot; attribute name to be called &quot;securityKey&quot; and set its value to your new token&#39;s key and change the &quot;password&quot; attribute name to be called &quot;securitySecret&quot; and set its value to your new token&#39;s secret.<br>
3) start the agent back up again<br>
<br>
It should work, but doesn&#39;t for me. I tried it with two different token key/secret pairs, failed both times.<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>