[Apiman-user] Apiman & Keycloak

Charles Moulliard cmoulliard at redhat.com
Tue Sep 1 01:20:32 EDT 2015


This blog refers to a link where we will import a pre-defined config

First, log into the Keycloak server. If you’re following our 
walkthrough, the log-in details are identical to those mentioned earlier 
(admin, admin123!). You can see that there is already an apiman realm 
defined, but we’re going to create a new one, so navigate to Add Realm 
(top right), and import and upload "this demonstration realm definition 
- http://www.apiman.io/blog/resources/2015-06-04/stottie.json"; it 
provides an extremely simple setup where we have:

What I would like to explain how we can create this "stottie" config in 
Keycloak (step by step, screenshots)

On 01/09/15 02:19, Eric Wittmann wrote:
> +1
>
> Thanks for responding, Rafael. I had intended to link this very same 
> tutorial but then it slipped my mind. :)
>
> On 8/31/2015 5:48 PM, Rafael Soares wrote:
>> Charles,
>>
>>   Recently I followed the "/Keycloak and dagger: Securing your services
>> with OAuth2/" tutorial [1] and it worked fine! This howto is great!
>>
>> You don't need to do anything on the Fuse/Camel side. All setup is done
>> in the ApiMan side. ApiMan comes with a KeyCloak service embedded and
>> all you need to do is install the Apiman oauth2 keycloak plugin and
>> configure your service policy to use it. The tutorial [1] describes each
>> step in detail.
>>
>> [1]
>> http://www.apiman.io/blog/gateway/security/oauth2/keycloak/authentication/authorization/2015/06/09/keycloak-oauth2.html 
>>
>>
>>
>>
>> ________________________
>> Rafael Torres Coelho Soares
>>
>> On Mon, Aug 31, 2015 at 2:38 PM, Charles Moulliard
>> <cmoulliard at redhat.com <mailto:cmoulliard at redhat.com>> wrote:
>>
>>     Hi,
>>
>>     I have already asked this question but I need some help to figure 
>> out
>>     what are the steps required to setup Oauth 2 with Keycloak as I'm
>>     preparing a demo 
>> (https://github.com/FuseByExample/rest-dsl-in-action)
>>     covering the point about how to secure & govern Camel REST DSL 
>> endpoints
>>     on JBoss Fuse using Apiman & Keycloak ?
>>
>>     I just need the list of the steps to perform from the Web Site. 
>> Base on
>>     the input, I will take some screenshots and include the instructions
>>     within the demo content. Such input could be reused to write a blog
>>     article too ;-)
>>
>>     Regards,
>>
>>     Charles
>>     _______________________________________________
>>     Apiman-user mailing list
>>     Apiman-user at lists.jboss.org <mailto:Apiman-user at lists.jboss.org>
>>     https://lists.jboss.org/mailman/listinfo/apiman-user
>>
>>
>>
>>
>> _______________________________________________
>> Apiman-user mailing list
>> Apiman-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/apiman-user
>>



More information about the Apiman-user mailing list