[keycloak-user] Creation UI for new authentication schema configuration.

Stian Thorgersen sthorger at redhat.com
Fri Nov 4 01:52:33 EDT 2016


FIY we did check this example for 2.3.0.CR1 release so I doubt it's broken

On 4 November 2016 at 06:51, Stian Thorgersen <sthorger at redhat.com> wrote:

> I don't know what you mean by it is not recognized by Keycloak. Did you
> follow the steps in the example to register it? See https://github.com/
> keycloak/keycloak/blob/master/examples/providers/authenticator/README.md
>
> On 3 November 2016 at 20:14, Michael Furman <michael_furman at hotmail.com>
> wrote:
>
>> Hi,
>>
>> Unfortunately I can not deploy the example authentication provider to
>> Keycloak
>>
>>
>> Who can help?
>>
>>
>> I have compiled authenticator-required-action-example from the examples.
>> I copied the provider jar into the “standalone/configuration/providers”
>> directory according to the document:
>> https://keycloak.gitbooks.io/server-developer-guide/content/
>> v/2.2/topics/auth-spi.html
>>
>> Unfortunately Keycloak does not recognize the provider.
>> Than I have copied it to the “providers” folder under the root Keycloak
>> folder.
>> Also without success .
>>
>>
>> I have opened an issue https://issues.jboss.org/browse/KEYCLOAK-3856
>>
>>
>> Best regards,
>>
>>    Michael
>>
>>
>>
>> ------------------------------
>> *From:* Stian Thorgersen <sthorger at redhat.com>
>> *Sent:* Tuesday, November 1, 2016 11:08 AM
>>
>> *To:* Michael Furman
>> *Cc:* keycloak-user at lists.jboss.org
>> *Subject:* Re: [keycloak-user] Creation UI for new authentication schema
>> configuration.
>>
>> On the config for the authenticator. Please look at the docs and also the
>> example it explains this pretty well.
>>
>> On 31 October 2016 at 13:47, Michael Furman <michael_furman at hotmail.com>
>> wrote:
>>
>>> Thanks,
>>>
>>> Where I will see the generated UI?
>>> On the authentication page?
>>> http://localhost:8080/auth/admin/master/console/#/realms/mas
>>> ter/authentication/flows/browser
>>>
>>> Also, can I add / update the authenticator configuration via REST API?
>>>
>>> http://www.keycloak.org/docs/rest-api/#_update_authenticator
>>> _configuration
>>>
>>> Thank you in advance for your help.
>>>
>>> Best regards,
>>>
>>>    Michael
>>>
>>> ------------------------------
>>> *From:* Stian Thorgersen <sthorger at redhat.com>
>>> *Sent:* Monday, October 31, 2016 8:00 AM
>>>
>>> *To:* Michael Furman
>>> *Cc:* keycloak-user at lists.jboss.org
>>> *Subject:* Re: [keycloak-user] Creation UI for new authentication
>>> schema configuration.
>>>
>>> Configuration UI is generated based on what's returned by
>>> the getConfigProperties method
>>>
>>> On 30 October 2016 at 12:28, Michael Furman <michael_furman at hotmail.com>
>>> wrote:
>>>
>>>> Thanks Stian,
>>>>
>>>> I will happy for the additional clarifications.
>>>>
>>>> I have looked in https://keycloak.gitbooks.io/s
>>>> erver-developer-guide/content/topics/auth-spi.html but was not able to
>>>> find a lot.
>>>>
>>>> I think that the following is relevant:
>>>>
>>>>
>>>>
>>>> *The next few methods define how the Authenticator can be configured. *
>>>>
>>>> *… *
>>>>
>>>> *The getConfigProperties() method returns a list of
>>>> ProviderConfigProperty objects. These objects define a specific
>>>> configuration attribute.*
>>>>
>>>>
>>>>
>>>> But according to my understanding the configuration should appear in
>>>> the Authenticator configuration UI.
>>>>
>>>> Therefore, how should I create the UI?
>>>>
>>>>
>>>>
>>>> Additional question: will the new Authenticator appear in
>>>> Authentication Flows:
>>>>
>>>> https://keycloak.gitbooks.io/server-adminstration-guide/cont
>>>> ent/topics/authentication/flows.html
>>>>
>>>> Will I be able to configure Required / Optional / Disabled for the new
>>>> the new Authenticator?
>>>>
>>>> Thank you in advance for your help.
>>>>
>>>> Best regards,
>>>>
>>>>    Michael
>>>>
>>>>
>>>> ------------------------------
>>>> *From:* Stian Thorgersen <sthorger at redhat.com>
>>>> *Sent:* Thursday, October 27, 2016 9:57 AM
>>>> *To:* Michael Furman
>>>> *Cc:* keycloak-user at lists.jboss.org
>>>> *Subject:* Re: [keycloak-user] Creation UI for new authentication
>>>> schema configuration.
>>>>
>>>> We don't support that directly so you would have to develop your own
>>>> custom authenticator for it. The doc you linked describes how to do that.
>>>>
>>>> On 26 October 2016 at 17:08, Michael Furman <michael_furman at hotmail.com
>>>> > wrote:
>>>>
>>>>> Hi all,
>>>>> I want to add support for the new authentication schema.
>>>>> How can I add UI for new authentication schema configuration?
>>>>> For example, I want to add the TACACS authentication schema.
>>>>> Therefore I need to configure the TACACS server IP and the secret.
>>>>> May be I have missed but I can not find it here:
>>>>> https://keycloak.gitbooks.io/server-developer-guide/content/
>>>>> topics/auth-spi.html
>>>>>
>>>>> Thank you in advance for your help.
>>>>> Best regards,
>>>>>    Michael
>>>>>
>>>>> _______________________________________________
>>>>> 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