[keycloak-user] keycloak war deployment - cannot configure authenticator for method KEYCLOAK

Vivek Srivastav (vivsriva) vivsriva at cisco.com
Fri Jul 25 16:37:33 EDT 2014


Please ignore my previous email.

Read through the adapter installation and was able to successfully
configure the adapter:
http://docs.jboss.org/keycloak/docs/1.0-beta-3/userguide/html_single/#d4e55
0


I missed the standalone.xml configuration.

Regards,
Vivek


On 7/25/14, 3:45 PM, "Vivek Srivastav (vivsriva)" <vivsriva at cisco.com>
wrote:

>Hi Bill,
>
>Thanks for the info. The keycloak auth service is a really great product
>and I have been going through your excellent tutorials at youtube. I think
>you and your team has done an incredible job creating this product.
>
>Since, the information about adapter installation is not documented. I
>presumed that the adapter would be deployed in the
>${JBOSS_HOME}/modules folder. Here¹s what I did, thinking that the
>adapters needs to go into the modules folder:
>
>cd $JBOSS_HOME
>unzip -un 
>~/opt/keycloak/keycloak-war-dist-all-1.0-beta-3/adapters/keycloak-eap6-ada
>p
>ter-dist-1.0-beta-3.zip
>
>
>However, I don¹t think it deployed the adapter. I also tried to deploy the
>adapters in jboss-as-7.1.1.Final, thinking that
>keycloak-eap6-adapter-dist-1.0-beta-3.zip, since I saw references to as7
>and wildly but no eap6 in the zip file.
>
>Regards,
>Vivek
>
>Following files are deployed in my modules folder:
>
>modules/system/layers/base/org/keycloak
>modules/system/layers/base/org/keycloak/keycloak-adapter-core
>modules/system/layers/base/org/keycloak/keycloak-adapter-core/main
>modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/keycloa
>k
>-adapter-core-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/module.
>x
>ml
>modules/system/layers/base/org/keycloak/keycloak-as7-adapter
>modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main
>modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main/keycloak
>-
>as7-adapter-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main/module.x
>m
>l
>modules/system/layers/base/org/keycloak/keycloak-as7-subsystem
>modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main
>modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main/keyclo
>a
>k-as7-subsystem-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main/module
>.
>xml
>modules/system/layers/base/org/keycloak/keycloak-core
>modules/system/layers/base/org/keycloak/keycloak-core/main
>modules/system/layers/base/org/keycloak/keycloak-core/main/keycloak-core-1
>.
>0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-core/main/module.xml
>modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core
>modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main
>modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main/k
>e
>ycloak-jboss-adapter-core-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main/m
>o
>dule.xml
>modules/system/layers/base/org/keycloak/keycloak-undertow-adapter
>modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main
>modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main/key
>c
>loak-undertow-adapter-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main/mod
>u
>le.xml
>modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter
>modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main
>modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main/keyc
>l
>oak-wildfly-adapter-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main/modu
>l
>e.xml
>modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem
>modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main
>modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main/ke
>y
>cloak-wildfly-subsystem-1.0-beta-3.jar
>modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main/mo
>d
>ule.xml
>
>
>
>On 7/25/14, 3:02 PM, "Bill Burke" <bburke at redhat.com> wrote:
>
>>You need to install the adapter.
>>
>>On 7/25/2014 2:21 PM, Vivek Srivastav (vivsriva) wrote:
>>> Hi,
>>> I am evaluating keycloak and running into this issue when deploying a
>>> web application secured using keycloak:
>>>
>>> 14:12:59,436 INFO  [org.jboss.web] (ServerService Thread Pool -- 80)
>>> JBAS018210: Register web context: /customer-portal
>>>
>>> 14:12:59,445 ERROR [org.apache.catalina.startup] (ServerService Thread
>>> Pool -- 80) JBWEB001034: Cannot configure an authenticator for method
>>> KEYCLOAK
>>>
>>> 14:12:59,446 ERROR [org.jboss.web] (ServerService Thread Pool -- 80)
>>> JBAS018206: Webapp [/customer-portal] is unavailable due to startup
>>>errors
>>>
>>>
>>> I have updated the customer-app/src/main/webapp/WEB-INF/web.xml app
>>>with
>>> following login-config parameter
>>>
>>>      <login-config>
>>>
>>>          <auth-method>KEYCLOAK</auth-method>
>>>
>>>          <realm-name>demo</realm-name>
>>>
>>>      </login-config>
>>>
>>>
>>> I have followed the instructions @
>>> 
>>>http://docs.jboss.org/keycloak/docs/1.0-beta-3/userguide/html_single/#WA
>>>R
>>>_distribution_installation and
>>> using the following versions of the software:
>>>
>>> jboss-eap-6.2
>>> keycloak-war-dist-all-1.0-beta-3
>>>
>>> I have in addition to the instructions above,
>>>
>>> cd $JBOSS_HOME
>>>
>>> unzip
>>> 
>>>~/opt/keycloak/keycloak-war-dist-all-1.0-beta-3/adapters/keycloak-eap6-a
>>>d
>>>apter-dist-1.0-beta-3.zip
>>>
>>>
>>> to update the modules folder.
>>>
>>> Could you please suggest what I can do to fix this?
>>>
>>> Regards,
>>> Vivek
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>




More information about the keycloak-user mailing list