<div dir="ltr"><div><div><div>Thanks Bill. I will look into it. <br><br></div>You''ve already done a lot, so, already grateful there.<br><br></div><br>Regards<br><br></div>Orestis<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 6:14 PM, Bill Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm saying I personally don't know :) I'm pretty sure our testsuite does something with arquillian, not exactly sure what though.<br>
<br>
testsuite/integration-arquillian<br>
<br>
This is something we'll need to nail down and document well. Sorry its not that way already.<span class=""><br>
<br>
On 12/15/2015 11:11 AM, Orestis Tsakiridis wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I see.<br>
<br>
So, i'll need to have a separate working keycloak server available for<br>
testing. No workarounds. Did i got this right ?<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Dec 15, 2015 at 6:00 PM, Bill Burke <<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a><br></span><span class="">
<mailto:<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>>> wrote:<br>
<br>
<br>
<br>
On 12/15/2015 10:54 AM, Orestis Tsakiridis wrote:<br>
> Hello,<br>
><br>
> I try to build automated tests for a keycloak secured REST application.<br>
> I plan to use arquilian as a test platform.<br>
><br>
> Do i need to have a working keycloak server to be used in the tests ?<br>
> Or is it possible to embed keycloak in the temporary deployment created<br>
> by arquilian?<br>
><br>
<br>
That's a real good point. Not sure how we are tackling this.<br>
<br>
> Btw, my endpoints don't use web.xml based security rules. I instead use<br>
><br>
> RSATokenVerifier.verifyToken() to manually verify the token.<br>
><br>
> Thus, i suppose that being able to manually create auth tokens from my<br>
> test cases (and not relying on a keycloak server) would also work.<br>
><br>
<br>
FYI, Keycloak client adapters do have a filter implementations now that<br>
you can use.<br>
<br>
<br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br></span>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a> <mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
<br>
<br>
</blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>