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

Stan Silvert ssilvert at redhat.com
Thu Jan 15 13:06:48 EST 2015


On 1/15/2015 1:04 PM, Stan Silvert wrote:
> On 1/15/2015 1:01 PM, Raghuram wrote:
>> Thanks for the pointer Stan. I used the wrong command "deploy" earlier. Now i tried "deploy-overlay" command and that did the trick.
> You can do it with deploy-overlay, but it is easier if you do it with
> "add-provider" from the auth-server resource.   It has more options and
> you don't have to fill in as many attributes.
Example:
/subsystem=keycloak/auth-server=main-auth-server/:add-provider(bytes-to-upload="/keycloak/examples/providers/federation-provider/target/federation-properties-example.jar",uploaded-file-name=myprovider.jar)
>>
>> Sent from my iPhone
>>
>>> On Jan 15, 2015, at 12:33 PM, Stan Silvert <ssilvert at redhat.com> wrote:
>>>
>>> I assume you mean that it shows up under a "deployment-overlays" tag?
>>> If it's under a "deployments" tag then something is wrong.
>>>
>>> It looks like Users --> Federation no longer exists in the GUI.  Stain,
>>> do you know about this?
>>>
>>>> On 1/15/2015 11:59 AM, Raghuram wrote:
>>>> Thanks Stian. I deployed the jar under main-auth-server and verified that it appears in the standalone.xml under "deployments" tag. But the federation provider doesn't appear in the gui. Is there anything that I am missing? The same jar worked in beta1 - I could create a provider and authenticate
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Jan 15, 2015, at 10:40 AM, Stian Thorgersen <stian at redhat.com> wrote:
>>>>>
>>>>> Added:
>>>>>
>>>>>    https://issues.jboss.org/browse/KEYCLOAK-969
>>>>>    https://issues.jboss.org/browse/KEYCLOAK-970
>>>>>
>>>>> Will need to be fixed for 1.1.0.Final
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>>> From: "Bill Burke" <bburke at redhat.com>
>>>>>> To: keycloak-user at lists.jboss.org
>>>>>> Sent: Thursday, 15 January, 2015 4:14:17 PM
>>>>>> Subject: Re: [keycloak-user] Location of User Federation Provider jar in Keycloak 1.1 Beta-2
>>>>>>
>>>>>> Docs will need to be updated.
>>>>>>
>>>>>> We need to expand the subsystem so that provider jars can be deployed
>>>>>> like any other component.  What you have now is *harder* to use than
>>>>>> simply dropping in the jar in WEB-INF/lib IMO.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> 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.
>>>>>>>
>>>>>>> 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
>>>>>> --
>>>>>> 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
>>>> _______________________________________________
>>>> 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