<div dir="ltr">Hi Guy,<div><br></div><div>I haven’t done any testing with JBoss, but I don’t see why not. As long as the KeycloakSecurityContext is present in the web request, it will work.</div><div><br></div><div>Best,</div><div>Scott</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 14, 2015 at 4:34 PM, Guy Davis <span dir="ltr"><<a href="mailto:guydavis.ca@gmail.com" target="_blank">guydavis.ca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Scott,<div><br></div><div>I was just looking for a solution to adding an app with Spring Security to our mix of Keycloak-protected apps and services. You mention "under Tomcat or Jetty". Would this also work for a web app, such as Pentaho, deployed inside a JBoss container?</div><div><br></div><div>Very timely. Bill, this would be great to have in Keycloak 1.2 if not too late.</div><div><div><br></div><div>Thanks much,</div><div>Guy</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 13, 2015 at 6:12 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">Nice. Yeah, we would be interested in having it in Keycloak proper.<br>
<div><div><br>
On 4/13/2015 7:42 PM, Scott Rossillo wrote:<br>
><br>
> As mentioned in a previous post, we would provide information on how to<br>
> integrate the Keycloak Adapters with Spring Security.<br>
><br>
> Today, we went a step further and released an integration under the<br>
> Apache 2.0 license at <a href="http://smartling.github.io/spring-security-keycloak/" target="_blank">http://smartling.github.io/spring-security-keycloak/</a><br>
><br>
> This code enables Spring Security to integrate with the single sign-on<br>
> and single sign out features of Keycloak when running under Tomcat or<br>
> Jetty. Additionally, Keycloak roles are correctly represented as Spring<br>
> Security granted authorities.<br>
><br>
> Please let me know if this is something you’d like to see contributed to<br>
> Keycloak proper.<br>
><br>
> Regards,<br>
> Scott<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> keycloak-user mailing list<br>
> <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" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
><br>
<span><font color="#888888"><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<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" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</font></span></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>