[keycloak-user] Location of User Federation Provider jar in Keycloak 1.1 Beta-2

Stan Silvert ssilvert at redhat.com
Fri Jan 16 08:30:40 EST 2015


On 1/16/2015 7:28 AM, Marek Posolda wrote:
> Figured out that our "war-dist" still contains auth-server.war in 
> "standalone/deployments" . Appliance dist doesn't have it. This is not 
> expected right? The chapter 3.1 and 3.2 both mentions auth-server.war 
> in deployments folder btv (which is not true at least for appliance 
> dist now).
The WAR dist doesn't contain the subsystem.  So it has to work the old way.

I think we need to come to a final decision about supporting the auth 
server on other platforms, which is the only reason for the WAR dist to 
still exist.
>
> Found out that with the "war-dist" and auth-server.war deployed in 
> standalone/deployments I can normally copy the provider jar to 
> standalone/deployments/auth-server.war/WEB-INF/lib and it works:-)
Right.  I didn't change the way it actually works.  Uploading allows you 
to create an overlay, which is the equivalent of copying it by hand, but 
is more flexible.  This is how it has to be done for domain mode.  But 
the old way still works.
>
> Marek
>
> On 16.1.2015 08:19, Stian Thorgersen wrote:
>>
>> ----- Original Message -----
>>> From: "Stan Silvert" <ssilvert at redhat.com>
>>> To: "Stian Thorgersen" <stian at redhat.com>
>>> Cc: keycloak-user at lists.jboss.org
>>> Sent: Thursday, 15 January, 2015 9:23:48 PM
>>> Subject: Re: [keycloak-user] Location of User Federation Provider 
>>> jar in Keycloak 1.1 Beta-2
>>>
>>> On 1/15/2015 9:29 AM, Stian Thorgersen wrote:
>>>> How is a provider added using the CLI? I can't find any examples on 
>>>> that.
>>> In the doc there is a step-by-step example of how to do it. See section
>>> 3.4.2.2.
>>> http://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/server-installation.html#d4e350 
>>>
>> That example uses the CLI GUI, we need one that uses plain CLI
>>
>> There's also another issue with this approach, which I didn't stress 
>> enough last time around, it requires the server to be running to add 
>> providers. That makes it much harder to for example create a Docker 
>> cartridge that includes some custom providers.
>>
>>>> Also, there are still several references in the docs and examples 
>>>> that uses
>>>> the old approach of copying to WEB-INF/lib.
>>>>
>>>> ----- Original Message -----
>>>>> From: "Stan Silvert" <ssilvert at redhat.com>
>>>>> To: keycloak-user at lists.jboss.org
>>>>> Sent: Thursday, 15 January, 2015 2:09:56 PM
>>>>> Subject: Re: [keycloak-user] Location of User Federation Provider 
>>>>> jar in
>>>>> Keycloak 1.1 Beta-2
>>>>>
>>>>> Providers are now uploaded using WildFly CLI or CLI GUI.
>>>>>
>>>>> See
>>>>> http://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/server-installation.html#d4e350 
>>>>>
>>>>>
>>>>> On 1/15/2015 6:46 AM, prab rrrr wrote:
>>>>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I created a custom User Federation Provider and deployed it as per 
>>>>> the
>>>>> documentation. It worked in earlier versions (1.1 Beta-1) but it 
>>>>> appears
>>>>> that the location of Keycloak war in Wildfly has changed in 1.1 
>>>>> Beta-2
>>>>> version and it is no longer inflated. Can someone suggest where 
>>>>> exactly I
>>>>> have to place the Federation provider jar in 1.1 Beta-2 version?
>>>>>
>>>>> Thanks,
>>>>> Raghu
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>



More information about the keycloak-user mailing list