[keycloak-user] Keycloak + Spring Security
Scott Rossillo
srossillo at smartling.com
Tue Apr 14 16:40:46 EDT 2015
Hi Guy,
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.
Best,
Scott
On Tue, Apr 14, 2015 at 4:34 PM, Guy Davis <guydavis.ca at gmail.com> wrote:
> Hi Scott,
>
> 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?
>
> Very timely. Bill, this would be great to have in Keycloak 1.2 if not too
> late.
>
> Thanks much,
> Guy
>
> On Mon, Apr 13, 2015 at 6:12 PM, Bill Burke <bburke at redhat.com> wrote:
>
>> Nice. Yeah, we would be interested in having it in Keycloak proper.
>>
>> On 4/13/2015 7:42 PM, Scott Rossillo wrote:
>> >
>> > As mentioned in a previous post, we would provide information on how to
>> > integrate the Keycloak Adapters with Spring Security.
>> >
>> > Today, we went a step further and released an integration under the
>> > Apache 2.0 license at
>> http://smartling.github.io/spring-security-keycloak/
>> >
>> > This code enables Spring Security to integrate with the single sign-on
>> > and single sign out features of Keycloak when running under Tomcat or
>> > Jetty. Additionally, Keycloak roles are correctly represented as Spring
>> > Security granted authorities.
>> >
>> > Please let me know if this is something you’d like to see contributed to
>> > Keycloak proper.
>> >
>> > Regards,
>> > Scott
>> >
>> >
>> > _______________________________________________
>> > keycloak-user mailing list
>> > keycloak-user at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>> >
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150414/91d08ffb/attachment.html
More information about the keycloak-user
mailing list